mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-02 09:08:58 +08:00
Rename BridgeProfiling to Systrace for consistency
Summary: public Rename the `BridgeProfiling` JS module to `Systrace`, since it's actually just an API to Systrace markers. This should make it clearer as we add more perf tooling. Reviewed By: jspahrsummers Differential Revision: D2734001 fb-gh-sync-id: 642848fa7340c545067f2a7cf5cef8af1c8a69a2
This commit is contained in:
committed by
facebook-github-bot-7
parent
44cbec28bd
commit
3549ff049c
@@ -165,8 +165,8 @@ function setUpWebSockets() {
|
||||
|
||||
function setUpProfile() {
|
||||
if (__DEV__) {
|
||||
var BridgeProfiling = require('BridgeProfiling');
|
||||
BridgeProfiling.swizzleReactPerf();
|
||||
var Systrace = require('Systrace');
|
||||
Systrace.swizzleReactPerf();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user