Add new ReactMarkers for bridgeless init start/end

Summary: Adding two new ReactMarkers for start and end of bridgeless initialization. Creating new ones instead of reusing existing ones to make it easier to differentiate data from the bridge vs. bridgeless, and also because our existing markers 1) aren't very easy to understand, and 2) don't map cleanly to the new architecture.

Reviewed By: PeteTheHeat

Differential Revision: D23789156

fbshipit-source-id: 2ed10769e08604e591503a2bc9566aeb1d0563ed
This commit is contained in:
Emily Janzer
2020-09-22 14:49:31 -07:00
committed by Facebook GitHub Bot
parent 311d4e9ef0
commit e125f12c01
@@ -108,5 +108,8 @@ public enum ReactMarkerConstants {
FABRIC_BATCH_EXECUTION_START,
FABRIC_BATCH_EXECUTION_END,
FABRIC_UPDATE_UI_MAIN_THREAD_START,
FABRIC_UPDATE_UI_MAIN_THREAD_END
FABRIC_UPDATE_UI_MAIN_THREAD_END,
// New markers used by bridgeless RN below this line
REACT_INSTANCE_INIT_START,
REACT_INSTANCE_INIT_END
}