Add systrace to UIManagerModule.createConstants

Summary:
- Differentiate when the constants are coming from lazy view managers or not
- Add systrace sections to each reactpackage iteration for lazy view managers

Differential Revision: D9664719

fbshipit-source-id: 3b8c6b3b40667a833471fcb957367501781b0f5d
This commit is contained in:
Andrew Chen (Eng) authored and Facebook Github Bot committed 2018-09-05 16:04:22 -07:00
1 parent 1edeaef6ca
commit cb6196073a
3 files changed
+19 -7

No files matched your search

@@ -99,7 +99,7 @@ import javax.annotation.Nullable;
constants.put(viewManagerName, viewManagerConstants);
}
} finally {
Systrace.endSection(TRACE_TAG_REACT_JAVA_BRIDGE);
SystraceMessage.endSection(TRACE_TAG_REACT_JAVA_BRIDGE);
}
}