File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ export const disableLegacyMode = __VARIANT__;
40
40
// NOTE: This feature will only work in DEV mode; all callsites are wrapped with __DEV__.
41
41
export const enableDebugTracing = __EXPERIMENTAL__ ;
42
42
43
+ export const enableSchedulingProfiler = __VARIANT__ ;
44
+
43
45
export const enableInfiniteRenderLoopDetection = __VARIANT__ ;
44
46
45
47
// TODO: These flags are hard-coded to the default values used in open source.
Original file line number Diff line number Diff line change @@ -59,7 +59,9 @@ export const enableAsyncActions = true;
59
59
export const disableInputAttributeSyncing = false ;
60
60
export const enableLegacyFBSupport = true ;
61
61
62
- export const enableSchedulingProfiler = __DEV__ ;
62
+ // Logs additional User Timing API marks for use with an experimental profiling tool.
63
+ export const enableSchedulingProfiler : boolean =
64
+ __PROFILE__ && dynamicFeatureFlags . enableSchedulingProfiler ;
63
65
64
66
export const disableLegacyContext = __EXPERIMENTAL__ ;
65
67
export const enableGetInspectorDataForInstanceInProduction = false ;
You can’t perform that action at this time.
0 commit comments