Skip to content

Commit 23b7dfe

Browse files
author
Brian Vaughn
authored
Enable scheduling profiler for RN FB profiling builds (#22566)
1 parent 545d4c2 commit 23b7dfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)