Skip to content

Commit

Permalink
Enable scheduling profiler for RN FB profiling builds (#22566)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Oct 15, 2021
1 parent 545d4c2 commit 23b7dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/forks/ReactFeatureFlags.native-fb.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const {enablePersistentOffscreenHostContainer} = dynamicFlags;

// The rest of the flags are static for better dead code elimination.
export const enableDebugTracing = false;
export const enableSchedulingProfiler = true;
export const enableSchedulingProfiler = __PROFILE__;
export const enableProfilerTimer = __PROFILE__;
export const enableProfilerCommitHooks = __PROFILE__;
export const enableProfilerNestedUpdatePhase = __PROFILE__;
Expand Down

0 comments on commit 23b7dfe

Please sign in to comment.