Enable profiler+tracing for test renderer (#16178)
This commit just brings the feature flags to parity with other renderers.
Brian Vaughn committed
Jul 23, 2019 at 08:20 UTC
afb59916868395d9e95cfe16abe2e36bf8fc3739
2 files changed
+4
-4
packages/shared/forks/ReactFeatureFlags.test-renderer.js
+2
-2
@@ -17,8 +17,8 @@ export const debugRenderPhaseSideEffectsForStrictMode = false;
17
export const enableUserTimingAPI = __DEV__;
18
export const warnAboutDeprecatedLifecycles = true;
19
export const replayFailedUnitOfWorkWithInvokeGuardedCallback = false;
20
-export const enableProfilerTimer = false;
21
-export const enableSchedulerTracing = false;
20
+export const enableProfilerTimer = __PROFILE__;
21
+export const enableSchedulerTracing = __PROFILE__;
22
export const enableSuspenseServerRenderer = false;
23
export const disableJavaScriptURLs = false;
24
export const disableInputAttributeSyncing = false;
packages/shared/forks/ReactFeatureFlags.test-renderer.www.js
+2
-2
@@ -20,8 +20,8 @@ export const debugRenderPhaseSideEffectsForStrictMode = false;
20
export const enableUserTimingAPI = __DEV__;
21
export const warnAboutDeprecatedLifecycles = true;
22
export const replayFailedUnitOfWorkWithInvokeGuardedCallback = false;
23
-export const enableProfilerTimer = false;
24
-export const enableSchedulerTracing = false;
23
+export const enableProfilerTimer = __PROFILE__;
24
+export const enableSchedulerTracing = __PROFILE__;
25
export const enableSuspenseServerRenderer = false;
26
export const enableStableConcurrentModeAPIs = false;
27
export const enableSchedulerDebugging = false;