From 5efc66e0f862a42964f3be147daa98f697984e08 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Fri, 15 Oct 2021 08:01:48 -0400 Subject: [PATCH] Enable schedling profiler for RN FB profiling builds --- packages/shared/forks/ReactFeatureFlags.native-fb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared/forks/ReactFeatureFlags.native-fb.js b/packages/shared/forks/ReactFeatureFlags.native-fb.js index c86d00217cc97..15a8c29f71799 100644 --- a/packages/shared/forks/ReactFeatureFlags.native-fb.js +++ b/packages/shared/forks/ReactFeatureFlags.native-fb.js @@ -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__;