software-mansion avatar

Argent React Native Profiler

Profiles React Native apps running on Hermes to catch render bottlenecks and CPU hotspots. Starts both React and native profilers in parallel, captures commit trees with timing data, then ranks components by render cost. The workflow pushes you to drill down with query tools (call trees, commit cascades, hang stacks) rather than stop at surface metrics. What stands out is the emphasis on re-profiling after fixes to actually measure whether your change improved anything, regressed something else, or did nothing at all. Works alongside flow recording so you can replay the exact same interaction sequence for honest before and after comparisons.

skills.sh installs
30K
GitHub stars
3.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add software-mansion/argent --skill argent-react-native-profiler --agent claude-code

Installs into .claude/skills of the current project.

Files

This skill is complementary to argent-react-native-optimization, not a replacement for it.

Physical iPhone: not supported; react-profiler-* reject kind: "device". Profile on a simulator.

1. Tools

React Profiler (Hermes / React commits)

  • react-profiler-start / react-profiler-stop: record CPU samples and React commits around an interaction.
  • react-profiler-analyze: turn the recording into a ranked report: hot commits with the JS functions that ran during each, and the file and line of each ranked component it finds in the project.
  • react-profiler-status: only after an interruption (debugger drop, Metro reload, pause, subagent handoff, any doubt), never otherwise. After a debugger drop, react-profiler-stop can no longer collect the run; check status before stopping or restarting.
  • react-profiler-fiber-tree: live component hierarchy, no session needed, for tracing a component's ancestry.

Drill-down queries (after analyze)

Sponsors

Details

Repository
github.com/software-mansion/argent
Categories
Frontend Development, Git & Pull Requests, Debugging, Mobile Development
First seen
Jul 14, 2026

More from software-mansion/argent

All 14
1pbakaus avatarlayoutpbakaus/impeccableImprove layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy. Use when the user mentions layout feeling o26.4Kskills.sh installs
2flutter avatarflutter-add-widget-testflutter/skillsflutter add widget test21.8Kskills.sh installs
3millionco avatarreact-doctormillionco/react-doctorUse when finishing a feature, fixing a bug, before committing React code, or when the user types `/doctor`, asks to scan, triage, or clean up React diagnostics.21.4Kskills.sh installs
4flutter avatarflutter-add-widget-previewflutter/skillsflutter add widget preview20.9Kskills.sh installs
5anthropics avatarfrontend-designanthropics/claude-plugins-officialGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making ch18.4Kskills.sh installs
6vuejs-ai avatarvue-pinia-best-practicesvuejs-ai/skillsPinia stores, state management patterns, store setup, and reactivity with stores.18Kskills.sh installs