Skip to content

Commit

Permalink
www: remove dynamic scheduler feature flag: enableProfiling
Browse files Browse the repository at this point in the history
I removed the wrong feature flag in #29995, this is the correct one to match D58682445.
  • Loading branch information
kassens committed Jun 20, 2024
1 parent 6ab67c3 commit 13849b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
5 changes: 1 addition & 4 deletions packages/scheduler/src/forks/SchedulerFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
// $FlowFixMe[cannot-resolve-module]
const dynamicFeatureFlags = require('SchedulerFeatureFlags');

const {enableProfiling: enableProfilingFeatureFlag} = dynamicFeatureFlags;

export const {
userBlockingPriorityTimeout,
normalPriorityTimeout,
Expand All @@ -20,5 +18,4 @@ export const {

export const frameYieldMs = 10;
export const enableSchedulerDebugging = true;
export const enableProfiling: boolean =
__PROFILE__ && enableProfilingFeatureFlag;
export const enableProfiling = __DEV__;

0 comments on commit 13849b7

Please sign in to comment.