Fix ReactPerf markers in Systrace

Reviewed By: @spicyj

Differential Revision: D2468107
This commit is contained in:
Tadeu Zagallo authored and facebook-github-bot-3 committed 2015-10-01 15:05:28 -07:00
1 parent d447edc5ed
commit d96748492f
3 files changed
+42 -30

No files matched your search

@@ -133,7 +133,9 @@ function setUpWebSockets() {
function setupProfile() {
console.profile = console.profile || GLOBAL.nativeTraceBeginSection || function () {};
console.profileEnd = console.profileEnd || GLOBAL.nativeTraceEndSection || function () {};
require('BridgeProfiling').swizzleReactPerf();
if (__DEV__) {
require('BridgeProfiling').swizzleReactPerf();
}
}
function setUpProcessEnv() {