diff --git a/apps/example/src/App.tsx b/apps/example/src/App.tsx index 277e37330d..90f506ec40 100644 --- a/apps/example/src/App.tsx +++ b/apps/example/src/App.tsx @@ -107,7 +107,7 @@ const App = () => { screenOptions={{ headerLeft: HeaderLeft, }} - initialRouteName={CI ? "Tests" : "Home"} + initialRouteName={CI ? "Tests" : "LiquidGlass"} > { const image = useSharedValue(null); const takeSnapshot = useCallback(async () => { if (viewRef.current != null) { + const start = performance.now(); image.value = await makeImageFromView(viewRef as RefObject); + const end = performance.now(); + console.log("Performance: " + Math.round(end - start) + " ms"); } }, [image]); return ( - +