react-native/React
Valentin Shergin c3038d7210 Warn about slow main thread React methods
Summary:
This is revert of revert of https://github.com/facebook/react-native/pull/15542
WITHOUT default RCT_MAIN_THREAD_WATCH_DOG_THRESHOLD value. So, it makes it completly opt-in feature.

When code blocks the UI thread for too long, it's a bad sign because this can prevent the app from remaining responsive. This change helps detect such responsiveness issues by warning when a React method executes on the UI thread longer than some threshold.

Reviewed By: mmmulani

Differential Revision: D5772433

fbshipit-source-id: 24fe4fc0deffe9c091a4bfc4cbd76cb4f34c4091
2017-09-06 16:38:37 -07:00
..
Base Warn about slow main thread React methods 2017-09-06 16:38:37 -07:00
CxxBridge Thread the JSI runtime descriptor up into the RCTDevMenu title 2017-09-05 15:02:19 -07:00
CxxModule Fix format specifier used in RCTCxxMethod 2017-08-08 11:55:17 -07:00
CxxUtils More efficient dynamic->NSString conversion. 2017-07-26 18:31:12 -07:00
DevSupport Thread the JSI runtime descriptor up into the RCTDevMenu title 2017-09-05 15:02:19 -07:00
Executors Add more information to `__fbBatchedBridge is undefined` error 2017-07-26 11:21:59 -07:00
Inspector Remove 'Debug JS on-device (experimental)' feature 2017-08-29 04:29:57 -07:00
Modules Fix ENABLE_INSPECTOR ifdef not found during dev 2017-08-24 10:46:50 -07:00
Profiler Configure requiresMainQueueSetup for core modules 2017-08-07 07:04:36 -07:00
React.xcodeproj Fixed issue with path with spaces 2017-09-03 23:30:22 -07:00
ReactLegacy.xcodeproj Add support for Cxx objects as arguments to native modules 2017-08-14 05:22:17 -07:00
Views Fix content offset validation 2017-09-05 16:35:03 -07:00
third-party.xcconfig More attempts to fix Travis CI runs 2017-05-10 04:32:54 -07:00