Skip to content

Commit e059b86

Browse files
Brian VaughnKamranAsif
Brian Vaughn
authored andcommitted
Enable scheduling profiler for RN FB profiling builds (facebook#22566)
1 parent b250659 commit e059b86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/forks/ReactFeatureFlags.native-fb.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const {enablePersistentOffscreenHostContainer} = dynamicFlags;
2020

2121
// The rest of the flags are static for better dead code elimination.
2222
export const enableDebugTracing = false;
23-
export const enableSchedulingProfiler = true;
23+
export const enableSchedulingProfiler = __PROFILE__;
2424
export const enableProfilerTimer = __PROFILE__;
2525
export const enableProfilerCommitHooks = __PROFILE__;
2626
export const enableProfilerNestedUpdatePhase = __PROFILE__;

0 commit comments

Comments
 (0)