Add more systrace sections to FabricJSIModuleProvider
Summary: Adding more Systrace sections to get perf information during critical paths. Changelog: [Internal] Reviewed By: ejanzer Differential Revision: D24960195 fbshipit-source-id: 099e9cfac8ac87287e48e9915e6b28fe7a448783
This commit is contained in:
Родитель
c609952ddb
Коммит
47000756fe
|
@ -56,6 +56,7 @@ public class FabricJSIModuleProvider implements JSIModuleProvider<UIManager> {
|
|||
|
||||
@Override
|
||||
public UIManager get() {
|
||||
Systrace.beginSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE, "FabricJSIModuleProvider.get");
|
||||
final EventBeatManager eventBeatManager = new EventBeatManager(mReactApplicationContext);
|
||||
final FabricUIManager uiManager = createUIManager(eventBeatManager);
|
||||
Systrace.beginSection(
|
||||
|
@ -76,7 +77,10 @@ public class FabricJSIModuleProvider implements JSIModuleProvider<UIManager> {
|
|||
jsMessageQueueThread,
|
||||
mComponentFactory,
|
||||
mConfig);
|
||||
|
||||
Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
|
||||
Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
|
||||
|
||||
return uiManager;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче