@samitouri / QOS-React-2 / commits / 1992d97306

Revert "Temporarily disable Profiler commit hooks flag (#19900)" (#19960)

Brian Vaughn committed Oct 5, 2020 at 15:49 UTC 1992d973068d031083f507558d89ad91c0015709
1 file changed +1 -4
packages/shared/forks/ReactFeatureFlags.www.js
+1 -4
@@ -35,10 +35,7 @@ export const {
35 // It's not used anywhere in production yet.
36
37 export const enableProfilerTimer = __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;
38 +export const enableProfilerCommitHooks = __PROFILE__;
39
40 // Logs additional User Timing API marks for use with an experimental profiling tool.
41 export const enableSchedulingProfiler = __PROFILE__;