From 5427b4657b3c23e2ab73b4ab906147c5c7927adf Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Wed, 30 Sep 2020 15:58:20 -0400 Subject: [PATCH] Temporarily disable Profiler commit hooks flag (#19900) Temporarily disable Profiler commit hooks flag to verify it does not cause a regression. --- packages/shared/forks/ReactFeatureFlags.www.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/shared/forks/ReactFeatureFlags.www.js b/packages/shared/forks/ReactFeatureFlags.www.js index ea9610713d057..e6b05679f86e8 100644 --- a/packages/shared/forks/ReactFeatureFlags.www.js +++ b/packages/shared/forks/ReactFeatureFlags.www.js @@ -35,7 +35,10 @@ export const { // It's not used anywhere in production yet. export const enableProfilerTimer = __PROFILE__; -export const enableProfilerCommitHooks = __PROFILE__; + +// Temporarily disable commit hooks flag to verify it does not cause a regression. +// TODO (brian) Re-enable this flag if performance is mostly neutral. +export const enableProfilerCommitHooks = false; // Logs additional User Timing API marks for use with an experimental profiling tool. export const enableSchedulingProfiler = __PROFILE__;