mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 20:01:01 +08:00
RN: Remove ReactPerf References
Reviewed By: fkgozali Differential Revision: D8002194 fbshipit-source-id: a60073698d0f348d788b5c67e1c1c0010f7ec7f1
This commit is contained in:
committed by
Facebook Github Bot
parent
4a0243fcd3
commit
70066ecd2b
@@ -12,15 +12,11 @@
|
||||
|
||||
const BridgeSpyStallHandler = require('BridgeSpyStallHandler');
|
||||
const JSEventLoopWatchdog = require('JSEventLoopWatchdog');
|
||||
const ReactPerfStallHandler = require('ReactPerfStallHandler');
|
||||
|
||||
const InteractionStallDebugger = {
|
||||
install: function(options: {thresholdMS: number}) {
|
||||
install(options: {thresholdMS: number}): void {
|
||||
JSEventLoopWatchdog.install(options);
|
||||
BridgeSpyStallHandler.register();
|
||||
if (__DEV__) {
|
||||
ReactPerfStallHandler.register();
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user