argent-native-profiler

Profile CPU hotspots, UI hangs, and memory leaks from Xcode xctrace data.

34|2|Updated Aug 16, 2025
One-click install
npx skills add https://github.com/FilenCloudDienste/filen-ts --skill argent-native-profiler-filenclouddienste
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: argent-native-profiler
Source: https://github.com/FilenCloudDienste/filen-ts/tree/main/.claude/skills/argent-native-profiler
Command: npx skills add https://github.com/FilenCloudDienste/filen-ts --skill argent-native-profiler-filenclouddienste

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you diagnose native performance issues by identifying CPU hotspots, UI hangs, and memory leaks directly from profiling traces.

Core Features & Use Cases

  • CPU Hotspots Detection: Pinpoints native functions consuming excessive CPU time, useful when the app feels slow or unresponsive.
  • UI Hang Investigation: Detects main-thread blocking that causes jank, useful when users report freezes during specific screens or interactions.
  • Memory Leak Analysis: Locates leaked objects by type and responsible frames, useful when memory grows over time or the app becomes unstable.

Quick Start

Run native-profiler-start with your iOS device id to record a trace while reproducing the issue, then stop, analyze, and use profiler-stack-query to drill into the most severe bottleneck.

Frequently Asked Questions about argent-native-profiler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find memory leaks and CPU hotspots in an iOS app?▼

To find memory leaks and CPU hotspots in an iOS app, record a trace while reproducing the issue, then analyze the exported data to pinpoint native functions, main-thread blocking, and leaked objects by responsible frames.

What causes UI hangs during specific screens and how do I investigate main-thread blocking?▼

Investigating UI hangs involves profiling trace data to detect main-thread blocking that causes jank during specific interactions, then drilling into root-cause stacks to identify the bottleneck.

How do I use xctrace to debug native performance problems on iOS?▼

Debug native iOS performance problems with xctrace by starting a trace recording with your device id, stopping it, analyzing bottlenecks, and querying stacks to support repeat investigations.

What is the best way to identify native functions consuming excessive CPU time?▼

Identify native functions consuming excessive CPU time by profiling CPU hotspots from trace data, which pinpoints the exact native functions causing the app to feel slow or unresponsive.

Can I reload previous profiling traces for repeat iOS debugging investigations?▼

Yes, you can reload previous profiling traces for repeat iOS debugging investigations, allowing you to re-analyze bottlenecks and drill into root-cause stacks without recording new trace data.

Do I need a physical iOS device id to start recording a native profiling trace?▼

Yes, starting a native profiling trace requires an iOS device id to capture the CPU hotspots, UI hangs, and memory leaks necessary for root-cause analysis.