
argent-native-profiler
Native profiling for CPU hotspots, UI hangs, memory issues
by software-mansionFree
Description
argent-native-profiler is an agent skill for native profiling of iOS and Android apps, to find CPU hotspots, UI hangs and memory issues. On iOS it uses Xcode Instruments through xctrace, which records CPU, hangs and leaks on a booted simulator or a connected device, and requires the Xcode command-line tools on the path. On Android it uses Perfetto through adb, with an in-process trace processor, and surfaces CPU hotspots and UI hangs, with jank reason codes for each hang, a main-thread state breakdown that attributes blocked time to functions, and an annotation for overlap with garbage collection. The Android profiler also reports a growth signal for resident memory, which the skill treats as a hint to confirm by hand rather than a confirmed leak. The target app must be debuggable or declare a profileable element in its manifest to capture call stacks. The tools are start, which begins recording, stop, which exports trace data to timestamped XML files, analyze, which returns a structured bottleneck payload, stack query, which drills into hang stacks, callers, threads and leaks, and load, which reopens earlier trace sessions from disk. Physical iPhones are not supported, so use a simulator. The skill is installed with npx skills add https://github.com/software-mansion/argent --skill argent-native-profiler.…
Highlights
- iOS profiling with xctrace
- Android profiling with Perfetto
- CPU hotspots, UI hangs and leaks
- Jank reason codes and GC overlap
- Install with npx skills add
Ratings & Reviews
No ratings yet
Be the first to rate argent-native-profiler.
People also visit

argent-react-native-profiler
Profile a React Native Hermes app to measure re-render and CPU performance
argent-native-profiler FAQ
What does this skill find?
CPU hotspots, UI hangs and memory issues in native iOS and Android code.
What does it use on iOS?
Xcode Instruments through xctrace, which needs the Xcode command-line tools.
What does it use on Android?
Perfetto through adb, with an in-process trace processor.
Is a memory growth signal a leak?
No. The skill treats the Android RSS growth signal as a hint to confirm manually.
What must the Android app do?
Be debuggable or declare a profileable element in its manifest, so call stacks can be captured.
How do I install it?
Run npx skills add https://github.com/software-mansion/argent --skill argent-native-profiler.
What are the best argent-native-profiler alternatives?
Popular alternatives to argent-native-profiler include axiom-performance, perf-profiler and debugging-instruments. See all argent-native-profiler alternatives













