@samitouri / QOS-React-2 / commits / 23b7dfeff3

Enable scheduling profiler for RN FB profiling builds (#22566)

Brian Vaughn committed Oct 15, 2021 at 08:03 UTC 23b7dfeff31abbf2ce69452e46075c5cb6da4a31
1 file changed +1 -1
packages/shared/forks/ReactFeatureFlags.native-fb.js
+1 -1
@@ -20,7 +20,7 @@ export const {enablePersistentOffscreenHostContainer} = dynamicFlags;
20
21 // The rest of the flags are static for better dead code elimination.
22 export const enableDebugTracing = false;
23 -export const enableSchedulingProfiler = true;
23 +export const enableSchedulingProfiler = __PROFILE__;
24 export const enableProfilerTimer = __PROFILE__;
25 export const enableProfilerCommitHooks = __PROFILE__;
26 export const enableProfilerNestedUpdatePhase = __PROFILE__;