mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
Report jsc memory information to fbsystrace
Reviewed By: jspahrsummers Differential Revision: D2789593 fb-gh-sync-id: e31d5f174b9cf896ce3be6431d81264d1d240fdb
This commit is contained in:
committed by
facebook-github-bot-7
parent
fe07a9c576
commit
8cabdbae1e
@@ -147,6 +147,7 @@ class MessageQueue {
|
||||
this._queue = [[],[],[]];
|
||||
this._lastFlush = now;
|
||||
}
|
||||
Systrace.counterEvent('pending_js_to_native_queue', this._queue[0].length);
|
||||
if (__DEV__ && SPY_MODE && isFinite(module)) {
|
||||
console.log('JS->N : ' + this._remoteModuleTable[module] + '.' +
|
||||
this._remoteMethodTable[module][method] + '(' + JSON.stringify(params) + ')');
|
||||
|
||||
Reference in New Issue
Block a user