Flashlight - Performance Tool for React Native App
Flashlight
Flashlight is a Lighthouse-like tool for mobile apps from BAM.tech.
Measure metrics:
- Average Test Runtime (With app start test, we can get TTI)
- Average FPS
- Average CPU usage
- High CPU usage
- Average RAM usage
- Thread Details
Data Captured:
Live Data capture from our app:
- FPS
- CPU
- RAM
CI Support: Yes
Strengths:
- Auto-detects any app / no package installations or pre-config required
- Live Monitoring JS / UI threads
- Thread details tracked
- Standalone tool - CLI / CI support
- Measure / Compare performance results
- Debug mode not required (prod apps can also be tested)
- Supports Maestro tests (Mobile UI automation)
Limitations:
- ios - Work in progress Refer Ticket
- Cloud version & some other features may get into paid subscription
- Measures RSS (Residential Set Size) side only not PSS (Proportional Set Size)
Setup:
- Install Flashlight CLI to your machine.
- Open terminal and run cmd
flashlight measure
- In a browser window, localhost session will be created
- After launching your Android mobile app, select auto-detect
- App will be picked and we are good