react-native-performance-monitors
v0.1.0
Published
Monitor and analyze JavaScript thread performance in React Native apps with real-time usage, event loop lag, FPS tracking, and freeze detection. real-time usage, event loop lag, FPS tracking, and freeze detection.
Readme
react-native-performance-monitor
Monitor and analyze JavaScript thread performance in React Native apps with real-time usage, event loop lag, FPS tracking, and freeze detection.
Installation
npm install react-native-performance-monitorUsage
To show JS Thread usage,lag and memory usage
import {PerformanceOverlay} from 'react-native-performance-monitor';
<PerformanceOverlay />to start memory leak detection
import {
initPerformanceMonitor,
useLeakDetector,
} from 'react-native-performance-monitor';
initPerformanceMonitor();To register component for memory leak detection
// add below line to each component
useLeakDetector('LeakyComponent');
and show overlay using
<PerformanceOverlay />Example Dev Tool Overlay

Contributing
License
MIT
Made with create-react-native-library
