Add more systrance on startup
Summary: as title Reviewed By: achen1 Differential Revision: D9729852 fbshipit-source-id: 15bb2ab4cff7f7fb1730eb354b36d7caf5cbac36
This commit is contained in:
parent
2434b965f2
commit
1830f9baae
|
@ -222,6 +222,8 @@ public class ReactInstanceManager {
|
|||
mJSMainModulePath = jsMainModulePath;
|
||||
mPackages = new ArrayList<>();
|
||||
mUseDeveloperSupport = useDeveloperSupport;
|
||||
Systrace.beginSection(
|
||||
Systrace.TRACE_TAG_REACT_JAVA_BRIDGE, "ReactInstanceManager.initDevSupportManager");
|
||||
mDevSupportManager =
|
||||
DevSupportManagerFactory.create(
|
||||
applicationContext,
|
||||
|
@ -232,6 +234,7 @@ public class ReactInstanceManager {
|
|||
devBundleDownloadListener,
|
||||
minNumShakes,
|
||||
customPackagerCommandHandlers);
|
||||
Systrace.endSection(TRACE_TAG_REACT_JAVA_BRIDGE);
|
||||
mBridgeIdleDebugListener = bridgeIdleDebugListener;
|
||||
mLifecycleState = initialLifecycleState;
|
||||
mMemoryPressureRouter = new MemoryPressureRouter(applicationContext);
|
||||
|
|
Loading…
Reference in New Issue