
argent-react-native-profiler
Profile a React Native Hermes app to measure re-render and CPU performance
by software-mansionFree
Description
argent-react-native-profiler is an agent skill for profiling a React Native app running on Hermes, to measure re-render and CPU performance. It is meant to complement the argent-react-native-optimization skill rather than replace it. The profiler tools include react-profiler-start, which begins CPU sampling and a commit-capture hook for React, with an optional sample interval; react-profiler-stop, which stores the CPU profile and commit tree; and react-profiler-analyze, which produces a report of hot commits with CPU data, sorted by total render time. Drill-down tools run after the analysis: react-profiler-component-source finds the file, line and memoization status of a component and returns about fifty lines of its source, and react-profiler-fiber-tree shows the component hierarchy with render cost. react-profiler-renders gives a live table of render counts without a profiling session. A status tool checks whether a session is still active if the flow was interrupted, for example by a Metro reload or a debugger pause. Physical iPhones are not supported, so profiling is done on a simulator. The skill is installed with npx skills add https://github.com/software-mansion/argent --skill argent-react-native-profiler.…
Highlights
- Hermes CPU sampling and commit capture
- Hot commits sorted by render time
- Component source lookup
- Fiber tree and live render counts
- Install with npx skills add
Ratings & Reviews
No ratings yet
Be the first to rate argent-react-native-profiler.
People also visit
argent-react-native-profiler FAQ
What does the profiler skill measure?
Re-render counts, render time and CPU usage for a React Native app running on Hermes.
Does it work on a physical iPhone?
No. The skill says react-profiler tools reject physical devices, so use a simulator.
How does a session run?
Start the profiler, interact with the app, stop it, then analyze the recording.
What is the difference from the optimization skill?
The optimization skill plans and applies fixes, and this skill provides the profiling measurements it relies on.
How do I install it?
Run npx skills add https://github.com/software-mansion/argent --skill argent-react-native-profiler.
What are its security audits?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passed.
What are the best argent-react-native-profiler alternatives?
Popular alternatives to argent-react-native-profiler include argent-react-native-optimization, react-devtools and argent-native-profiler. See all argent-react-native-profiler alternatives















