Temporarily disable Profiler commit hooks flag (#19900)
Temporarily disable Profiler commit hooks flag to verify it does not cause a regression.
Brian Vaughn committed
Sep 30, 2020 at 15:58 UTC
5427b4657b3c23e2ab73b4ab906147c5c7927adf
1 file changed
+4
-1
packages/shared/forks/ReactFeatureFlags.www.js
+4
-1
@@ -35,7 +35,10 @@ export const {
35
// It's not used anywhere in production yet.
36
37
export const enableProfilerTimer = __PROFILE__;
38
-export const enableProfilerCommitHooks = __PROFILE__;
38
+
39
+// Temporarily disable commit hooks flag to verify it does not cause a regression.
40
+// TODO (brian) Re-enable this flag if performance is mostly neutral.
41
+export const enableProfilerCommitHooks = false;
42
43
// Logs additional User Timing API marks for use with an experimental profiling tool.
44
export const enableSchedulingProfiler = __PROFILE__;