Skip to content

Commit

Permalink
Enable scheduling profiler for RN FB profiling builds (facebook#22566)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn authored and KamranAsif committed Nov 4, 2021
1 parent b250659 commit e059b86
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 e059b86

Please sign in to comment.