argent-react-native-profiler

Profile React Native Hermes apps for re-render counts and CPU usage.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses performance bottlenecks in React Native applications by providing a structured, data-driven approach to identifying slow components, excessive re-renders, and CPU hotspots.

Core Features & Use Cases

  • Performance Profiling: Capture CPU sampling and React commit data to visualize exactly where your app is losing frames.
  • Drill-Down Analysis: Use specialized query tools to investigate specific commit cascades, hang stacks, and function call trees.
  • Before/After Validation: Measure the impact of your code changes by comparing profiling sessions to ensure fixes actually improve performance without introducing regressions.

Quick Start

Start a new profiling session for the current React Native app to capture performance data during your next interaction.

Frequently Asked Questions about argent-react-native-profiler

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

FAQPage Schema
How do I profile React Native Hermes applications to find UI performance bottlenecks?

To identify excessive re-renders in React Native, you profile React commits to measure re-render counts and CPU hotspots. This skill provides drill-down analysis to investigate specific commit cascades and function call trees.

Can I compare before and after profiling sessions to validate React Native optimization changes?

Yes, you can compare before and after profiling sessions to validate React Native optimization changes. This skill measures the impact of code changes by comparing sessions to ensure fixes improve performance without regressions.

Do I need native iOS and Android instrumentation tools to investigate React Native hang stacks?

Yes, you need native iOS and Android instrumentation tools to investigate React Native hang stacks. This skill requires integration with native instrumentation to correlate JavaScript execution with native thread activity.

What is the best way to correlate JavaScript execution with native thread activity during React Native profiling?

The best way to correlate JavaScript execution with native thread activity is by integrating React Profiler with native iOS and Android instrumentation. This approach captures CPU sampling and hang stacks to identify performance bottlenecks.