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__;
2525// NOTE: This feature will only work in DEV mode; all callsights are wrapped with __DEV__.
2626export const enableDebugTracing = __EXPERIMENTAL__ ;
2727
28+ export const enableSchedulingProfiler = __VARIANT__ ;
29+
2830// This only has an effect in the new reconciler. But also, the new reconciler
2931// is only enabled when __VARIANT__ is true. So this is set to the opposite of
3032// __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 {
3535
3636export const enableProfilerTimer = __PROFILE__ ;
3737export const enableProfilerCommitHooks = __PROFILE__ ;
38- export const enableProfilerNestedUpdatePhase = __PROFILE__ ;
38+ export const enableProfilerNestedUpdatePhase =
39+ __PROFILE__ && dynamicFeatureFlags . enableSchedulingProfiler ;
3940
4041// Logs additional User Timing API marks for use with an experimental profiling tool.
4142export const enableSchedulingProfiler = __PROFILE__ ;
You can’t perform that action at this time.
0 commit comments