File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ export const decoupleUpdatePriorityFromScheduler = __VARIANT__;
25
25
// NOTE: This feature will only work in DEV mode; all callsights are wrapped with __DEV__.
26
26
export const enableDebugTracing = __EXPERIMENTAL__ ;
27
27
28
+ export const enableSchedulingProfiler = __VARIANT__ ;
29
+
28
30
// This only has an effect in the new reconciler. But also, the new reconciler
29
31
// is only enabled when __VARIANT__ is true. So this is set to the opposite of
30
32
// __VARIANT__ so that it's `false` when running against the new reconciler.
Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ export const {
35
35
36
36
export const enableProfilerTimer = __PROFILE__ ;
37
37
export const enableProfilerCommitHooks = __PROFILE__ ;
38
- export const enableProfilerNestedUpdatePhase = __PROFILE__ ;
38
+ export const enableProfilerNestedUpdatePhase =
39
+ __PROFILE__ && dynamicFeatureFlags . enableSchedulingProfiler ;
39
40
40
41
// Logs additional User Timing API marks for use with an experimental profiling tool.
41
42
export const enableSchedulingProfiler = __PROFILE__ ;
You can’t perform that action at this time.
0 commit comments