Skip to content

Commit 5427b46

Browse files
author
Brian Vaughn
authoredSep 30, 2020
Temporarily disable Profiler commit hooks flag (#19900)
Temporarily disable Profiler commit hooks flag to verify it does not cause a regression.
1 parent 1faf9e3 commit 5427b46

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎packages/shared/forks/ReactFeatureFlags.www.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ export const {
3535
// It's not used anywhere in production yet.
3636

3737
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;
3942

4043
// Logs additional User Timing API marks for use with an experimental profiling tool.
4144
export const enableSchedulingProfiler = __PROFILE__;

0 commit comments

Comments
 (0)