Skip to content

Commit

Permalink
Revert "www: remove dynamic feature flag enableSchedulingProfiler" (#…
Browse files Browse the repository at this point in the history
…29995)

Reverts #29994
  • Loading branch information
kassens authored Jun 20, 2024
1 parent babe5a2 commit 6ab67c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/shared/forks/ReactFeatureFlags.www-dynamic.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 3 additions & 1 deletion packages/shared/forks/ReactFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6ab67c3

Please sign in to comment.