www: remove dynamic feature flag enableSchedulingProfiler (#29994)

This commit is contained in:
Jan Kassens
2024-06-20 16:47:28 -04:00
committed by GitHub
parent 395e2fc6a0
commit babe5a2f1b
2 changed files with 1 additions and 5 deletions

View File

@@ -40,8 +40,6 @@ 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.

View File

@@ -59,9 +59,7 @@ export const enableAsyncActions = true;
export const disableInputAttributeSyncing = false;
export const enableLegacyFBSupport = true;
// Logs additional User Timing API marks for use with an experimental profiling tool.
export const enableSchedulingProfiler: boolean =
__PROFILE__ && dynamicFeatureFlags.enableSchedulingProfiler;
export const enableSchedulingProfiler = __DEV__;
export const disableLegacyContext = __EXPERIMENTAL__;
export const enableGetInspectorDataForInstanceInProduction = false;