argent-native-profiler

Profile native CPU hotspots and memory leaks in iOS and Android apps.

71|2|Updated Oct 26, 2019
One-click install
npx skills add https://github.com/TrainLCD/MobileApp --skill argent-native-profiler-trainlcd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: argent-native-profiler
Source: https://github.com/TrainLCD/MobileApp/tree/main/.agents/skills/argent-native-profiler
Command: npx skills add https://github.com/TrainLCD/MobileApp --skill argent-native-profiler-trainlcd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses complex performance bottlenecks in mobile applications by providing deep visibility into native-level CPU hotspots, UI thread hangs, and memory leaks that standard JS-level profiling cannot detect.

Core Features & Use Cases

  • Native Trace Analysis: Captures and parses high-fidelity trace data from Xcode Instruments (iOS) and Perfetto (Android).
  • Bottleneck Identification: Automatically categorizes performance issues by severity, distinguishing between critical UI hangs and minor CPU spikes.
  • Use Case: When a React Native app experiences intermittent frame drops or memory growth, use this skill to pinpoint the exact native function or thread blocking the main loop.

Quick Start

Use the native-profiler-start tool to begin recording performance data on your connected device and then call native-profiler-analyze once you have finished your interaction sequence.

Frequently Asked Questions about argent-native-profiler

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

FAQPage Schema
How do I diagnose native memory leaks and UI thread hangs in a React Native app?

Native performance profiling captures high-fidelity trace data from Xcode Instruments and Perfetto to detect native memory leaks and UI thread hangs that standard JavaScript profiling cannot identify.

Why does my mobile app experience intermittent frame drops that do not show up in JS profiling?

Intermittent frame drops often stem from native-level CPU hotspots or thread blocking that JS profiling misses, requiring native trace analysis to pinpoint the exact native function blocking the main loop.

Can I use Xcode Instruments and Perfetto to profile native CPU hotspots on iOS and Android?

Yes, native profiling supports capturing and parsing trace data from Xcode Instruments for iOS and Perfetto for Android to automatically identify and categorize native CPU hotspots by severity.

How do I start recording and analyzing native performance data on a connected mobile device?

You start recording by invoking the native-profiler-start tool on your connected device, then call native-profiler-analyze after finishing your interaction sequence to generate actionable optimization insights.

Do I need access to device-level logs and native call stacks for mobile performance bottleneck analysis?

Yes, native performance bottleneck analysis requires access to device-level logs and native call stacks to provide accurate, actionable optimization insights for complex mobile application issues.