Skip to content
software-mansion avatar

Argent Native Profiler

Native profiling that diagnoses CPU hotspots, UI hangs, memory leaks, and iOS launch time across platforms.

CCM score
68 of 100
skills.sh installs
32.8K
GitHub stars
3.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the record, stop, analyze, and drill-down flow using native-profiler-start, native-profiler-stop, and native-profiler-analyze
  • Uses Instruments via xctrace on iOS simulators and Mac apps, and Perfetto on Android emulators or devices
  • Enforces Release builds and five-launch baselines for iOS launch measurements, and warns that simulator timings reflect host hardware
  • Designed for diagnosing native-level performance issues on iOS, Android, and macOS apps

Install

$ npx -y skills add software-mansion/argent --skill argent-native-profiler -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

1. Tools and platforms

  • native-profiler-start → native-profiler-stop → native-profiler-analyze: record, export, and report.
  • profiler-stack-query: drill into the analyzed data (hang stacks, function callers, thread breakdown, leaks).
  • profiler-load: reload an earlier session from disk.

iOS (Instruments via xctrace): the profiling session (native-profiler-start) runs on a simulator only; native-profiler-launch-analysis (§4) also runs on a physical iPhone. Needs full Xcode (xcrun xctrace version). Reports CPU hotspots, UI hangs and memory leaks.

Android (Perfetto): emulator or physical device. Reports CPU hotspots and UI hangs (with jank reasons and the main thread's blocking function), plus an RSS-growth signal for memory pressure: treat it as a hint to confirm, not a confirmed leak. The app must be debuggable or declare <profileable android:shell="true"/> in its manifest, or no perf_sample callstacks are captured.

Details

Repository
github.com/software-mansion/argent
Categories
Debugging, Mobile Apps
First seen
Jul 14, 2026

Questions

What does the argent-native-profiler skill do?

It profiles native CPU hotspots, UI hangs, memory issues and iOS launch time, using Instruments via xctrace on iOS and Mac and Perfetto on Android. It is meant for diagnosing native-level performance issues.

How do I install the argent-native-profiler skill?

Run npx -y skills add software-mansion/argent --skill argent-native-profiler -y in your project. After that, the agent can record, stop, analyze and drill into native profiling sessions.

What do I need to use native profiling on iOS and Android?

On iOS you need full Xcode, and the recording runs on a simulator while launch analysis also works on a physical iPhone. On Android you need an emulator or device, and the app must be debuggable or declare profileable android:shell="true" in its manifest.

Where does argent-native-profiler rank in the Debugging category?

On the Debugging category page it ranks in the top 25. Other skills in that category include diagnosing-bugs, azure-messaging, safe-debug, systematic-debugging and sentry-cli, and this skill focuses on native-level performance profiling.

Can I measure app launch time with this skill?

Yes, for iOS apps you can use native-profiler-launch-analysis on a Release build to measure launch time and profile its cause. The result ends at the first frame, so work after it needs to be investigated separately.

More from software-mansion/argent

All 17

Similar to Argent Native Profiler

More Debugging