perfetto-trace-analysis

Analyze Perfetto trace files to diagnose Android performance issues via SQL investigations.

4|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/mymx2/foreman --skill perfetto-trace-analysis-mymx2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perfetto-trace-analysis
Source: https://github.com/mymx2/foreman/tree/main/.qoder/skills.collected/skills/perfetto-trace-analysis
Command: npx skills add https://github.com/mymx2/foreman --skill perfetto-trace-analysis-mymx2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill resolves complex Android performance issues like latency, jank, and memory pressure by providing a rigorous, evidence-based framework for analyzing Perfetto trace files.

Core Features & Use Cases

  • Systematic Investigation: Follows a strict chain-of-evidence protocol to identify root causes of performance bottlenecks.
  • Domain-Specific Analysis: Leverages expert-vetted techniques for CPU, Graphics, I/O, IPC, Memory, and Power domains.
  • Use Case: When an Android application experiences intermittent UI jank, use this Skill to correlate frame drops with specific thread states, binder transactions, or I/O stalls to pinpoint the exact code path responsible.

Quick Start

Analyze the provided trace file to identify the root cause of the reported performance bottleneck by following the established investigation protocol.

Frequently Asked Questions about perfetto-trace-analysis

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

FAQPage Schema
How do I analyze a Perfetto trace to diagnose Android UI jank?

Analyze Perfetto traces by executing iterative SQL queries across CPU, graphics, and I/O domains to correlate frame drops with thread states or binder transactions. This isolates the exact code paths causing the jank.

What is the best way to find the root cause of memory bottlenecks in an Android trace file?

The best way to find Android memory bottlenecks is using a strict chain-of-evidence protocol on Perfetto traces. This systematic investigation leverages expert-vetted domain hints to accurately pinpoint the root cause of memory pressure.

Can I use SQL to investigate CPU and I/O stalls in Android performance debugging?

Yes, you can use SQL to investigate CPU and I/O stalls during Android performance debugging. The analysis executes iterative SQL queries across these domains to isolate the root causes of latency and system bottlenecks.

Does Perfetto trace analysis support diagnosing power and IPC performance issues?

Perfetto trace analysis supports diagnosing power and IPC performance issues by leveraging expert-vetted techniques across these specific domains. It follows a rigorous, evidence-based framework to identify the root causes accurately.

How do I start a systematic investigation of an Android latency trace?

Start a systematic investigation of Android latency by providing the Perfetto trace file to the analysis protocol. It follows a strict chain-of-evidence to identify the root cause of the reported performance bottleneck.