Skip to content

Commit

Permalink
www: remove dynamic feature flag enableSchedulingProfiler (#29994)
Browse files Browse the repository at this point in the history
  • Loading branch information
kassens authored Jun 20, 2024
1 parent 395e2fc commit babe5a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions packages/shared/forks/ReactFeatureFlags.www-dynamic.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 1 addition & 3 deletions packages/shared/forks/ReactFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit babe5a2

Please sign in to comment.