www: remove dynamic scheduler feature flag: enableProfiling (#29996)
I removed the wrong feature flag in #29995, this is the correct one to match D58682445.
Jan Kassens committed
Jun 21, 2024 at 09:51 UTC
0b724e9e9c6469983f73631edb2e6abcc9c1193b
2 files changed
+1
-6
packages/scheduler/src/forks/SchedulerFeatureFlags.www-dynamic.js
-2
@@ -11,8 +11,6 @@
11
// Use __VARIANT__ to simulate a GK. The tests will be run twice: once
12
// with the __VARIANT__ set to `true`, and once set to `false`.
13
14
-export const enableProfiling = __VARIANT__;
15
-
14
export const userBlockingPriorityTimeout = 250;
15
export const normalPriorityTimeout = 5000;
16
export const lowPriorityTimeout = 10000;
packages/scheduler/src/forks/SchedulerFeatureFlags.www.js
+1
-4
@@ -10,8 +10,6 @@
10
// $FlowFixMe[cannot-resolve-module]
11
const dynamicFeatureFlags = require('SchedulerFeatureFlags');
12
13
-const {enableProfiling: enableProfilingFeatureFlag} = dynamicFeatureFlags;
14
-
13
export const {
14
userBlockingPriorityTimeout,
15
normalPriorityTimeout,
@@ -20,5 +18,4 @@ export const {
18
19
export const frameYieldMs = 10;
20
export const enableSchedulerDebugging = true;
23
-export const enableProfiling: boolean =
24
- __PROFILE__ && enableProfilingFeatureFlag;
21
+export const enableProfiling = __DEV__;