Skip to content

Commit

Permalink
Add more systrance on startup
Browse files Browse the repository at this point in the history
Summary: as title

Reviewed By: achen1

Differential Revision: D9729852

fbshipit-source-id: 15bb2ab4cff7f7fb1730eb354b36d7caf5cbac36
  • Loading branch information
Jiaqi Wu authored and facebook-github-bot committed Sep 9, 2018
1 parent 2434b96 commit 1830f9b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ public static ReactInstanceManagerBuilder builder() {
mJSMainModulePath = jsMainModulePath;
mPackages = new ArrayList<>();
mUseDeveloperSupport = useDeveloperSupport;
Systrace.beginSection(
Systrace.TRACE_TAG_REACT_JAVA_BRIDGE, "ReactInstanceManager.initDevSupportManager");
mDevSupportManager =
DevSupportManagerFactory.create(
applicationContext,
Expand All @@ -232,6 +234,7 @@ public static ReactInstanceManagerBuilder builder() {
devBundleDownloadListener,
minNumShakes,
customPackagerCommandHandlers);
Systrace.endSection(TRACE_TAG_REACT_JAVA_BRIDGE);
mBridgeIdleDebugListener = bridgeIdleDebugListener;
mLifecycleState = initialLifecycleState;
mMemoryPressureRouter = new MemoryPressureRouter(applicationContext);
Expand Down

0 comments on commit 1830f9b

Please sign in to comment.