Use ReactMarker for all perf logging in the bridge

Reviewed By: AaaChiuuu

Differential Revision: D6030270

fbshipit-source-id: c9fa04d4f2816e4e0a4a14caf41795d0f547a7a0
This commit is contained in:
Alexey Lang 2017-10-22 03:59:19 -07:00 committed by Facebook Github Bot
parent 28824f8eb3
commit 95073f8589
1 changed files with 14 additions and 7 deletions

View File

@ -12,8 +12,6 @@ public enum ReactMarkerConstants {
PROCESS_PACKAGES_END, PROCESS_PACKAGES_END,
BUILD_NATIVE_MODULE_REGISTRY_START, BUILD_NATIVE_MODULE_REGISTRY_START,
BUILD_NATIVE_MODULE_REGISTRY_END, BUILD_NATIVE_MODULE_REGISTRY_END,
BUILD_JS_MODULE_CONFIG_START,
BUILD_JS_MODULE_CONFIG_END,
CREATE_CATALYST_INSTANCE_START, CREATE_CATALYST_INSTANCE_START,
CREATE_CATALYST_INSTANCE_END, CREATE_CATALYST_INSTANCE_END,
RUN_JS_BUNDLE_START, RUN_JS_BUNDLE_START,
@ -34,8 +32,6 @@ public enum ReactMarkerConstants {
CREATE_MODULE_END, CREATE_MODULE_END,
PROCESS_CORE_REACT_PACKAGE_START, PROCESS_CORE_REACT_PACKAGE_START,
PROCESS_CORE_REACT_PACKAGE_END, PROCESS_CORE_REACT_PACKAGE_END,
UI_MANAGER_MODULE_CONSTANTS_CONVERT_START,
UI_MANAGER_MODULE_CONSTANTS_CONVERT_END,
CREATE_I18N_MODULE_CONSTANTS_START, CREATE_I18N_MODULE_CONSTANTS_START,
CREATE_I18N_MODULE_CONSTANTS_END, CREATE_I18N_MODULE_CONSTANTS_END,
I18N_MODULE_CONSTANTS_CONVERT_START, I18N_MODULE_CONSTANTS_CONVERT_START,
@ -53,9 +49,6 @@ public enum ReactMarkerConstants {
CONVERT_CONSTANTS_START, CONVERT_CONSTANTS_START,
CONVERT_CONSTANTS_END, CONVERT_CONSTANTS_END,
PRE_REACT_CONTEXT_END, PRE_REACT_CONTEXT_END,
UNPACKER_CHECK_START,
UNPACKER_CHECK_END,
UNPACKER_BUNDLE_EXTRACTED,
UNPACKING_JS_BUNDLE_LOADER_CHECK_START, UNPACKING_JS_BUNDLE_LOADER_CHECK_START,
UNPACKING_JS_BUNDLE_LOADER_CHECK_END, UNPACKING_JS_BUNDLE_LOADER_CHECK_END,
UNPACKING_JS_BUNDLE_LOADER_EXTRACTED, UNPACKING_JS_BUNDLE_LOADER_EXTRACTED,
@ -72,4 +65,18 @@ public enum ReactMarkerConstants {
DOWNLOAD_END, DOWNLOAD_END,
REACT_CONTEXT_THREAD_START, REACT_CONTEXT_THREAD_START,
REACT_CONTEXT_THREAD_END, REACT_CONTEXT_THREAD_END,
GET_REACT_INSTANCE_MANAGER_START,
GET_REACT_INSTANCE_MANAGER_END,
GET_REACT_INSTANCE_HOLDER_SPEC_START,
GET_REACT_INSTANCE_HOLDER_SPEC_END,
BUILD_REACT_INSTANCE_MANAGER_START,
BUILD_REACT_INSTANCE_MANAGER_END,
PROCESS_INFRA_PACKAGE_START,
PROCESS_INFRA_PACKAGE_END,
PROCESS_PRODUCT_PACKAGE_START,
PROCESS_PRODUCT_PACKAGE_END,
CREATE_MC_MODULE_START,
CREATE_MC_MODULE_END,
CREATE_MC_MODULE_GET_METADATA_START,
CREATE_MC_MODULE_GET_METADATA_END,
} }