Skip to content

Commit

Permalink
[Scheduler][www] Put profiling feature behind flag (#16757)
Browse files Browse the repository at this point in the history
Our infra currently doesn't support loading a separate profiling
build of Scheduler. Until that's fixed, the recommendation is to load
a single build and gate the profiling feature behind a flag.

Alternative to #16659
  • Loading branch information
acdlite committed Sep 11, 2019
1 parent 8f03109 commit 0a2215c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/scheduler/src/forks/SchedulerFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
export const {
enableIsInputPending,
enableSchedulerDebugging,
enableProfiling: enableProfilingFeatureFlag,
} = require('SchedulerFeatureFlags');

export const enableProfiling = __PROFILE__;
export const enableProfiling = __PROFILE__ && enableProfilingFeatureFlag;
export const enableMessageLoopImplementation = true;

0 comments on commit 0a2215c

Please sign in to comment.