react-native-macos/React
Ramanpreet Nara 9f310a2b15 Instrument JS requires
Summary:
This diff instruments two markers:
- JSRequireBeginning: From the start of the JS require to when we start creating the platform NativeModule
- JSRequireEnding: From the end of platform NativeModule create to the end of the JS require

In order to accomplish this, I had modify `ModuleRegistry::ModuleRegistry()` to accept a `std::shared_ptr<NativeModulePerfLogger>`. I also had to implement the public method `ModuleRegistry::getNativeModulePerfLogger()` so that `JSINativeModules` could start logging the JS require beginning and ending.

Changelog: [Internal]

Reviewed By: PeteTheHeat

Differential Revision: D21418803

fbshipit-source-id: 53828817ae41f23f3f04a95b1d3ac0012735da48
2020-05-13 20:28:17 -07:00
..
AccessibilityResources/en.lproj Add localized accessibility strings to React Core pod (#27995) 2020-02-20 14:31:03 -08:00
Base Instrument JS requires 2020-05-13 20:28:17 -07:00
CoreModules Cleanup logbox imports 2020-05-12 22:40:29 -07:00
CxxBridge Instrument RCTModuleData create 2020-05-13 20:28:16 -07:00
CxxModule Clang format for all React Native files 2020-03-08 23:01:17 -07:00
CxxUtils Clang format for all React Native files 2020-03-08 23:01:17 -07:00
DevSupport Add "Open Debugger" and "Open React DevTools" to iOS dev menu 2020-04-15 19:34:52 -07:00
Fabric Add support for ScrollView.centerContent in Fabric 2020-05-13 12:28:54 -07:00
Inspector Clang format for all React Native files 2020-03-08 23:01:17 -07:00
Modules Clang format for all React Native files 2020-03-08 23:01:17 -07:00
Profiler Clang format for all React Native files 2020-03-08 23:01:17 -07:00
UIUtils Clang format for all React Native files 2020-03-08 23:01:17 -07:00
Views Fix skewX/skewY/perspective/matrix on iOS (#28863) 2020-05-11 09:01:33 -07:00
React-RCTFabric.podspec Updating the URLs to point at new domain name reactnative.dev 2020-02-24 13:09:11 -08:00
third-party.xcconfig Upgrade Folly to v2020.01.13.00 (#27810) 2020-01-21 12:44:00 -08:00