[Scheduler][www] Put profiling feature behind flag (#16757)

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
This commit is contained in:
Andrew Clark
2019-09-11 13:28:03 -07:00
committed by GitHub
parent 8f03109cd2
commit 0a2215cc0e
@@ -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;