Revert "www: remove dynamic feature flag enableSchedulingProfiler" (#29995)

Reverts facebook/react#29994
This commit is contained in:
Jan Kassens
2024-06-20 17:17:25 -04:00
committed by GitHub
parent 83fd8fbf2a
commit 8eaaf2fb75
2 changed files with 5 additions and 1 deletions
@@ -40,6 +40,8 @@ export const disableLegacyMode = __VARIANT__;
// NOTE: This feature will only work in DEV mode; all callsites are wrapped with __DEV__.
export const enableDebugTracing = __EXPERIMENTAL__;
export const enableSchedulingProfiler = __VARIANT__;
export const enableInfiniteRenderLoopDetection = __VARIANT__;
// TODO: These flags are hard-coded to the default values used in open source.
@@ -59,7 +59,9 @@ export const enableAsyncActions = true;
export const disableInputAttributeSyncing = false;
export const enableLegacyFBSupport = true;
export const enableSchedulingProfiler = __DEV__;
// Logs additional User Timing API marks for use with an experimental profiling tool.
export const enableSchedulingProfiler: boolean =
__PROFILE__ && dynamicFeatureFlags.enableSchedulingProfiler;
export const disableLegacyContext = __EXPERIMENTAL__;
export const enableGetInspectorDataForInstanceInProduction = false;