rn-perf-checker
v1.0.5
Published
Perf Scorer for your react native app
Maintainers
Readme
rn-perf-checker
Perf Scorer for your react native app
Installation
npm install rn-perf-checkerHermes Deep Instrumentation (Optional)
By default rn-perf-checker works without modifying Hermes.
To enable deep VM instrumentation:
npx rnperf enable-hermes --yes
This will:
- Patch Hermes
- Build Hermes
- Enable Gradle override
To disable:
npx rnperf disable-hermes
Usage
import RNPerfChecker from 'rn-perf-checker';
import { RootTagContext, useContext } from 'react-native';
// ...
const rootTag = useContext(RootTagContext);
RNPerfChecker.startProfiling(rootTag);
RNPerfChecker.stopProfiling();Contributing
License
MIT
Made with create-react-native-library
