perfetto-trace-analysis

Analyze Android Perfetto traces to identify root causes of latency, memory, and jank issues.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/inehemiasm/AiAssistant --skill perfetto-trace-analysis-inehemiasm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perfetto-trace-analysis
Source: https://github.com/inehemiasm/AiAssistant/tree/main/skills/perfetto-trace-analysis
Command: npx skills add https://github.com/inehemiasm/AiAssistant --skill perfetto-trace-analysis-inehemiasm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps diagnose Android app latency, memory, and jank problems by turning complex Perfetto trace data into evidence-based root cause findings.

Core Features & Use Cases

  • Trace Investigation Workflow: Analyzes Perfetto traces through structured hypothesis, data collection, and dependency tracing steps.
  • Performance Root Cause Analysis: Uses CPU, graphics, I/O, IPC, memory, and power analysis techniques with Perfetto SQL guidance.
  • Use Case: Identify why an Android application startup is slow, frames are dropping, or memory pressure is causing instability by following a verified chain of trace evidence.

Quick Start

Use the perfetto-trace-analysis skill to analyze the attached Android Perfetto trace and determine the root cause of the observed performance issue.

Frequently Asked Questions about perfetto-trace-analysis

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

FAQPage Schema
How do I find the root cause of Android app jank using a Perfetto trace?

To find Android jank root causes, analyze the Perfetto trace by applying SQL validation to track rendering problems and CPU bottlenecks through structured hypothesis and dependency tracing steps.

Can I diagnose Android app startup delays from Perfetto trace data?

Yes, you can diagnose app startup delays by investigating the Perfetto trace using evidence-driven analysis to identify I/O stalls, IPC issues, and CPU bottlenecks impacting startup latency.

What is the best way to investigate Android memory pressure and instability in Perfetto?

The best way to investigate memory pressure is using Perfetto SQL to query trace data, validating memory usage patterns against observed instability to find the exact root cause.

Does Perfetto trace analysis support identifying CPU bottlenecks and I/O stalls?

Perfetto trace analysis supports identifying CPU bottlenecks and I/O stalls by applying performance root cause analysis techniques to validate trace evidence through iterative SQL queries.

How do I trace Android rendering problems and dropped frames with Perfetto SQL?

Trace rendering problems and dropped frames by using Perfetto SQL for schema research and data collection, validating hypotheses against trace evidence to pinpoint graphics performance issues.

Why does my Android app experience power concerns and how do I trace them?

Trace power concerns by analyzing the Perfetto trace to identify power-related issues, applying SQL validation to track dependencies and verify the root cause of power drain.