react-native/React/Base
Harrison Harnisch 46c6cde947 UI CPU and memory utilization graphs in Chrome debugging mode
Summary:
Chrome debugging UI is currently only showing connection state and logs in the console, leaving room for plenty of interesting information.

I've pushed the UI (using the same convention set by FPS -- UI/JS) CPU and memory utilization data over the debug Websocket and tapped into the existing stream of JS calls that get ran in V8.

The number of JS calls in a time interval is counted for all sub calls in a batch
https://github.com/hharnisc/react-native/blob/master/packager/debugger.html#L150

The last 5 batches of JS calls are displayed in a list format.

<img width="951" alt="screen shot 2015-07-19 at 7 34 00 pm" src="https://cloud.githubusercontent.com/assets/1388079/8769257/edc42f70-2e4d-11e5-8813-e86ef530a446.png">

Charts are created with [Chart.JS](https://github.com/nnnick/Chart.js) (MIT licensed).
Closes https://github.com/facebook/react-native/pull/2050
Github Author: Harrison Harnisch <hharnisc@gmail.com>
2015-08-21 02:11:45 -07:00
..
RCTAssert.h Fix RCTAssert logic 2015-08-07 06:11:49 -08:00
RCTAssert.m Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTBatchedBridge.m [Logs] Remove already registered warning 2015-08-20 09:46:10 -07:00
RCTBridge.h Remove isValid from RCTInvalidating 2015-08-14 01:57:18 -08:00
RCTBridge.m Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTBridgeDelegate.h [ReactNative] Add RCTBridgeDelegate 2015-07-28 15:57:02 -08:00
RCTBridgeModule.h Refactor RCTUIManager 2015-08-06 15:49:35 -08:00
RCTCache.h Improved RCTCache performance + fixed border color crash 2015-07-14 04:56:25 -08:00
RCTCache.m Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTConvert.h Removed unnecessary overhead in RCTConvert functions 2015-08-13 04:08:17 -08:00
RCTConvert.m Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTDefines.h Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTEventDispatcher.h Simplified event registration 2015-08-11 06:41:04 -08:00
RCTEventDispatcher.m Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTFPSGraph.h #1562 Rename 'tick' to 'onTick' to pass iTunes Connect validation. 2015-06-29 06:51:44 -08:00
RCTFPSGraph.m Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTFrameUpdate.h [ReactNative] Move module info from bridge to RCTModuleData 2015-06-24 17:42:12 -08:00
RCTFrameUpdate.m [ReactNative] Move module info from bridge to RCTModuleData 2015-06-24 17:42:12 -08:00
RCTInvalidating.h Remove isValid from RCTInvalidating 2015-08-14 01:57:18 -08:00
RCTJSMethodRegistrar.h Added non-class-scanning-based approach fror registering js methods 2015-04-08 05:45:20 -08:00
RCTJavaScriptExecutor.h Remove isValid from RCTInvalidating 2015-08-14 01:57:18 -08:00
RCTJavaScriptLoader.h [ReactNative] Add RCTBridgeDelegate 2015-07-28 15:57:02 -08:00
RCTJavaScriptLoader.m Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTKeyCommands.h Updates from Thu 26 Mar 2015-03-26 06:32:01 -07:00
RCTKeyCommands.m Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTLog.h Added support for method argument nullability 2015-07-29 05:50:27 -08:00
RCTLog.m [react-native] Revert D2346396 to bring back JS stack traces 2015-08-19 18:07:15 -07:00
RCTModuleData.h Reverted to pre-init of queues to fix UIExplorer tests. 2015-08-08 01:47:43 -08:00
RCTModuleData.m Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTModuleMap.h Unregistered modules will now only error when called, not on bridge init 2015-07-27 08:58:47 -08:00
RCTModuleMap.m Unregistered modules will now only error when called, not on bridge init 2015-07-27 08:58:47 -08:00
RCTModuleMethod.h Implemented lazy parsing of method signatures to improve TTI 2015-08-11 08:49:13 -08:00
RCTModuleMethod.m Fixed bug where method calls containing struct arguments would fail silently 2015-08-18 07:35:26 -07:00
RCTPerfStats.h [ReactNative] Add fps monitor 2015-05-20 18:26:36 -08:00
RCTPerfStats.m Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTPerformanceLogger.h [ReactNative] Add PerformanceLogger to measure TTI 2015-06-19 15:01:35 -08:00
RCTPerformanceLogger.m [ReactNative] Log with `RCTPerformanceLogger` only once per bridge instance 2015-07-09 07:35:16 -08:00
RCTProfile.h UI CPU and memory utilization graphs in Chrome debugging mode 2015-08-21 02:11:45 -07:00
RCTProfile.m UI CPU and memory utilization graphs in Chrome debugging mode 2015-08-21 02:11:45 -07:00
RCTRedBox.h [ReactNative] Add JS errors handling to iOS 2015-07-14 16:24:06 -08:00
RCTRedBox.m [RN] Show only file name in RedBox 2015-08-19 17:35:25 -07:00
RCTRootView.h Avoid dispatch_async in RCTRootView when bridge has already started 2015-08-17 05:34:25 -07:00
RCTRootView.m Avoid dispatch_async in RCTRootView when bridge has already started 2015-08-17 05:34:25 -07:00
RCTSparseArray.h Updates from Thu 26 Mar 2015-03-26 06:32:01 -07:00
RCTSparseArray.m Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTTouchHandler.h [ReactNative] Send batched calls from objc to js every frame + add bridge profiling 2015-04-17 04:01:02 -08:00
RCTTouchHandler.m Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTURLRequestDelegate.h Refactored networking logic out into RCTDownloadTask 2015-07-23 04:00:31 -08:00
RCTURLRequestHandler.h [ReactNative] Refactor RCTDataManager to support pluggable data source modules (RCTURLRequestHandlers) 2015-06-09 12:27:06 -08:00
RCTUtils.h Added JSONKit support 2015-07-20 09:52:31 -08:00
RCTUtils.m Fix gzip on iOS 9 2015-07-27 01:18:40 -08:00