From 23b7dfeff31abbf2ce69452e46075c5cb6da4a31 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Fri, 15 Oct 2021 08:03:18 -0400 Subject: [PATCH] Enable scheduling profiler for RN FB profiling builds (#22566) --- 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__;