mirror of
https://github.com/status-im/react-native.git
synced 2025-02-10 16:36:25 +00:00
Move CREATE_CATALYST_INSTANCE_END marker inside JSCExecutor
Reviewed By: AaaChiuuu Differential Revision: D3096157 fb-gh-sync-id: 6bcca134e5e7a426719816047ffc98a5178e9596 shipit-source-id: 6bcca134e5e7a426719816047ffc98a5178e9596
This commit is contained in:
parent
62e80a600e
commit
18badf1c3e
@ -77,7 +77,6 @@ import static com.facebook.react.bridge.ReactMarkerConstants.BUILD_NATIVE_MODULE
|
|||||||
import static com.facebook.react.bridge.ReactMarkerConstants.BUILD_NATIVE_MODULE_REGISTRY_START;
|
import static com.facebook.react.bridge.ReactMarkerConstants.BUILD_NATIVE_MODULE_REGISTRY_START;
|
||||||
import static com.facebook.react.bridge.ReactMarkerConstants.CREATE_CATALYST_INSTANCE_END;
|
import static com.facebook.react.bridge.ReactMarkerConstants.CREATE_CATALYST_INSTANCE_END;
|
||||||
import static com.facebook.react.bridge.ReactMarkerConstants.CREATE_CATALYST_INSTANCE_START;
|
import static com.facebook.react.bridge.ReactMarkerConstants.CREATE_CATALYST_INSTANCE_START;
|
||||||
import static com.facebook.react.bridge.ReactMarkerConstants.CREATE_REACT_CONTEXT_END;
|
|
||||||
import static com.facebook.react.bridge.ReactMarkerConstants.CREATE_REACT_CONTEXT_START;
|
import static com.facebook.react.bridge.ReactMarkerConstants.CREATE_REACT_CONTEXT_START;
|
||||||
import static com.facebook.react.bridge.ReactMarkerConstants.PROCESS_PACKAGES_END;
|
import static com.facebook.react.bridge.ReactMarkerConstants.PROCESS_PACKAGES_END;
|
||||||
import static com.facebook.react.bridge.ReactMarkerConstants.PROCESS_PACKAGES_START;
|
import static com.facebook.react.bridge.ReactMarkerConstants.PROCESS_PACKAGES_START;
|
||||||
@ -858,6 +857,7 @@ import static com.facebook.react.bridge.ReactMarkerConstants.RUN_JS_BUNDLE_START
|
|||||||
.setNativeModuleCallExceptionHandler(exceptionHandler);
|
.setNativeModuleCallExceptionHandler(exceptionHandler);
|
||||||
|
|
||||||
ReactMarker.logMarker(CREATE_CATALYST_INSTANCE_START);
|
ReactMarker.logMarker(CREATE_CATALYST_INSTANCE_START);
|
||||||
|
// CREATE_CATALYST_INSTANCE_END is in JSCExecutor.cpp
|
||||||
Systrace.beginSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE, "createCatalystInstance");
|
Systrace.beginSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE, "createCatalystInstance");
|
||||||
CatalystInstance catalystInstance;
|
CatalystInstance catalystInstance;
|
||||||
try {
|
try {
|
||||||
@ -882,7 +882,6 @@ import static com.facebook.react.bridge.ReactMarkerConstants.RUN_JS_BUNDLE_START
|
|||||||
ReactMarker.logMarker(RUN_JS_BUNDLE_END);
|
ReactMarker.logMarker(RUN_JS_BUNDLE_END);
|
||||||
}
|
}
|
||||||
|
|
||||||
ReactMarker.logMarker(CREATE_REACT_CONTEXT_END);
|
|
||||||
return reactContext;
|
return reactContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -243,6 +243,7 @@ void JSCExecutor::loadApplicationScript(
|
|||||||
evaluateScript(m_context, jsScript, jsSourceURL, m_deviceCacheDir.c_str());
|
evaluateScript(m_context, jsScript, jsSourceURL, m_deviceCacheDir.c_str());
|
||||||
}
|
}
|
||||||
flush();
|
flush();
|
||||||
|
ReactMarker::logMarker("CREATE_REACT_CONTEXT_END");
|
||||||
}
|
}
|
||||||
|
|
||||||
void JSCExecutor::loadApplicationUnbundle(
|
void JSCExecutor::loadApplicationUnbundle(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user