Add marker point for initializing Hermes
Summary: Adding a QPL point for initializing Hermes to both (MP) HOME_TTI and (RN) CORE. Reviewed By: yungsters Differential Revision: D9725795 fbshipit-source-id: 673f54950a2d9ebfa496a000a0d47aabf290bfc8
This commit is contained in:
parent
8ac6ba81ea
commit
dd627479c2
|
@ -17,6 +17,7 @@ import static com.facebook.react.bridge.ReactMarkerConstants.CREATE_CATALYST_INS
|
|||
import static com.facebook.react.bridge.ReactMarkerConstants.CREATE_REACT_CONTEXT_START;
|
||||
import static com.facebook.react.bridge.ReactMarkerConstants.CREATE_VIEW_MANAGERS_END;
|
||||
import static com.facebook.react.bridge.ReactMarkerConstants.CREATE_VIEW_MANAGERS_START;
|
||||
import static com.facebook.react.bridge.ReactMarkerConstants.HERMES_INIT;
|
||||
import static com.facebook.react.bridge.ReactMarkerConstants.PRE_SETUP_REACT_CONTEXT_END;
|
||||
import static com.facebook.react.bridge.ReactMarkerConstants.PRE_SETUP_REACT_CONTEXT_START;
|
||||
import static com.facebook.react.bridge.ReactMarkerConstants.PROCESS_PACKAGES_END;
|
||||
|
@ -923,6 +924,7 @@ public class ReactInstanceManager {
|
|||
|
||||
try {
|
||||
Process.setThreadPriority(Process.THREAD_PRIORITY_DISPLAY);
|
||||
ReactMarker.logMarker(HERMES_INIT);
|
||||
final ReactApplicationContext reactApplicationContext =
|
||||
createReactContext(
|
||||
initParams.getJsExecutorFactory().create(),
|
||||
|
|
|
@ -90,4 +90,5 @@ public enum ReactMarkerConstants {
|
|||
CREATE_MC_MODULE_GET_METADATA_END,
|
||||
REGISTER_JS_SEGMENT_START,
|
||||
REGISTER_JS_SEGMENT_STOP,
|
||||
HERMES_INIT,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue