[flags] make enableComponentPerformanceTrack dynamic (#32359)

This commit is contained in:
Ricky
2025-03-06 14:00:12 -05:00
committed by GitHub
parent 0cb6559ed7
commit a69facce1c
2 changed files with 2 additions and 2 deletions
@@ -39,6 +39,7 @@ export const enableUseEffectCRUDOverload = __VARIANT__;
export const enableFastAddPropertiesInDiffing = __VARIANT__;
export const enableLazyPublicInstanceInFabric = false;
export const enableViewTransition = __VARIANT__;
export const enableComponentPerformanceTrack = __VARIANT__;
export const enableScrollEndPolyfill = __VARIANT__;
// TODO: These flags are hard-coded to the default values used in open source.
@@ -37,6 +37,7 @@ export const {
transitionLaneExpirationMs,
enableFastAddPropertiesInDiffing,
enableViewTransition,
enableComponentPerformanceTrack,
enableScrollEndPolyfill,
} = dynamicFeatureFlags;
@@ -63,8 +64,6 @@ export const enableThrottledScheduling = false;
export const enableHydrationLaneScheduling = true;
export const enableComponentPerformanceTrack = false;
// Logs additional User Timing API marks for use with an experimental profiling tool.
export const enableSchedulingProfiler: boolean =
__PROFILE__ && dynamicFeatureFlags.enableSchedulingProfiler;