// Copyright 2004-present Facebook. All Rights Reserved.

package com.facebook.react.bridge;

/**
 * Constants used by ReactMarker.
 */
public enum ReactMarkerConstants {
  CREATE_REACT_CONTEXT_START,
  CREATE_REACT_CONTEXT_END,
  PROCESS_PACKAGES_START,
  PROCESS_PACKAGES_END,
  BUILD_NATIVE_MODULE_REGISTRY_START,
  BUILD_NATIVE_MODULE_REGISTRY_END,
  BUILD_JS_MODULE_CONFIG_START,
  BUILD_JS_MODULE_CONFIG_END,
  CREATE_CATALYST_INSTANCE_START,
  CREATE_CATALYST_INSTANCE_END,
  RUN_JS_BUNDLE_START,
  RUN_JS_BUNDLE_END,
  NATIVE_MODULE_INITIALIZE_START,
  NATIVE_MODULE_INITIALIZE_END,
  SETUP_REACT_CONTEXT_START,
  SETUP_REACT_CONTEXT_END,
  CREATE_UI_MANAGER_MODULE_START,
  CREATE_UI_MANAGER_MODULE_END,
  CREATE_VIEW_MANAGERS_START,
  CREATE_VIEW_MANAGERS_END,
  CREATE_UI_MANAGER_MODULE_CONSTANTS_START,
  CREATE_UI_MANAGER_MODULE_CONSTANTS_END,
  NATIVE_MODULE_SETUP_START,
  NATIVE_MODULE_SETUP_END,
  CREATE_MODULE_START,
  CREATE_MODULE_END,
  PROCESS_CORE_REACT_PACKAGE_START,
  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_END,
  I18N_MODULE_CONSTANTS_CONVERT_START,
  I18N_MODULE_CONSTANTS_CONVERT_END,
  CREATE_I18N_ASSETS_MODULE_START,
  CREATE_I18N_ASSETS_MODULE_END,
  GET_CONSTANTS_START,
  GET_CONSTANTS_END,
  INITIALIZE_MODULE_START,
  INITIALIZE_MODULE_END,
  ON_HOST_RESUME_START,
  ON_HOST_RESUME_END,
  ON_HOST_PAUSE_START,
  ON_HOST_PAUSE_END,
  CONVERT_CONSTANTS_START,
  CONVERT_CONSTANTS_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_END,
  UNPACKING_JS_BUNDLE_LOADER_EXTRACTED,
  loadApplicationScript_startStringConvert,
  loadApplicationScript_endStringConvert,
  PRE_SETUP_REACT_CONTEXT_START,
  PRE_SETUP_REACT_CONTEXT_END,
  PRE_RUN_JS_BUNDLE_START,
  ATTACH_MEASURED_ROOT_VIEWS_START,
  ATTACH_MEASURED_ROOT_VIEWS_END,
  CONTENT_APPEARED,
  RELOAD,
  DOWNLOAD_START,
  DOWNLOAD_END,
  REACT_CONTEXT_THREAD_START,
  REACT_CONTEXT_THREAD_END,
}

@@ -350,70 +350,8 @@
 ND,%0A
-  BUILD_JS_MODULE_CONFIG_START,%0A  BUILD_JS_MODULE_CONFIG_END,%0A
   CR
@@ -372,32 +372,32 @@
 INSTANCE_START,%0A
+
   CREATE_CATALYS
@@ -962,96 +962,8 @@
 ND,%0A
-  UI_MANAGER_MODULE_CONSTANTS_CONVERT_START,%0A  UI_MANAGER_MODULE_CONSTANTS_CONVERT_END,%0A
   CR
@@ -1443,83 +1443,8 @@
 ND,%0A
-  UNPACKER_CHECK_START,%0A  UNPACKER_CHECK_END,%0A  UNPACKER_BUNDLE_EXTRACTED,%0A
   UN
@@ -1902,16 +1902,16 @@
 _START,%0A
-
   REACT_
@@ -1930,10 +1930,482 @@
 AD_END,%0A
+  GET_REACT_INSTANCE_MANAGER_START,%0A  GET_REACT_INSTANCE_MANAGER_END,%0A  GET_REACT_INSTANCE_HOLDER_SPEC_START,%0A  GET_REACT_INSTANCE_HOLDER_SPEC_END,%0A  BUILD_REACT_INSTANCE_MANAGER_START,%0A  BUILD_REACT_INSTANCE_MANAGER_END,%0A  PROCESS_INFRA_PACKAGE_START,%0A  PROCESS_INFRA_PACKAGE_END,%0A  PROCESS_PRODUCT_PACKAGE_START,%0A  PROCESS_PRODUCT_PACKAGE_END,%0A  CREATE_MC_MODULE_START,%0A  CREATE_MC_MODULE_END,%0A  CREATE_MC_MODULE_GET_METADATA_START,%0A  CREATE_MC_MODULE_GET_METADATA_END,%0A
 %7D%0A

Use ReactMarker for all perf logging in the bridge