diff --git a/packages/scheduler/src/forks/SchedulerFeatureFlags.www-dynamic.js b/packages/scheduler/src/forks/SchedulerFeatureFlags.www-dynamic.js index 25d88aa4b903d..8bbe8385b7f63 100644 --- a/packages/scheduler/src/forks/SchedulerFeatureFlags.www-dynamic.js +++ b/packages/scheduler/src/forks/SchedulerFeatureFlags.www-dynamic.js @@ -11,8 +11,6 @@ // Use __VARIANT__ to simulate a GK. The tests will be run twice: once // with the __VARIANT__ set to `true`, and once set to `false`. -export const enableProfiling = __VARIANT__; - export const userBlockingPriorityTimeout = 250; export const normalPriorityTimeout = 5000; export const lowPriorityTimeout = 10000; diff --git a/packages/scheduler/src/forks/SchedulerFeatureFlags.www.js b/packages/scheduler/src/forks/SchedulerFeatureFlags.www.js index 93d1b25b99c52..5c42786c94d42 100644 --- a/packages/scheduler/src/forks/SchedulerFeatureFlags.www.js +++ b/packages/scheduler/src/forks/SchedulerFeatureFlags.www.js @@ -10,8 +10,6 @@ // $FlowFixMe[cannot-resolve-module] const dynamicFeatureFlags = require('SchedulerFeatureFlags'); -const {enableProfiling: enableProfilingFeatureFlag} = dynamicFeatureFlags; - export const { userBlockingPriorityTimeout, normalPriorityTimeout, @@ -20,5 +18,4 @@ export const { export const frameYieldMs = 10; export const enableSchedulerDebugging = true; -export const enableProfiling: boolean = - __PROFILE__ && enableProfilingFeatureFlag; +export const enableProfiling = __DEV__;