perfetto-trace-analysis

Analyze Perfetto trace files to identify Android app performance issues.

Updated Jan 11, 2026
One-click install
npx skills add https://github.com/Kaito-Dogi/smopin --skill perfetto-trace-analysis-kaito-dogi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perfetto-trace-analysis
Source: https://github.com/Kaito-Dogi/smopin/tree/main/.agents/skills/android-skills/profilers/perfetto-trace-analysis
Command: npx skills add https://github.com/Kaito-Dogi/smopin --skill perfetto-trace-analysis-kaito-dogi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires perfetto, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows users to analyze performance issues in Android apps using Perfetto trace files, identifying the root cause of latency, memory, or jank issues.

Core Features & Use Cases

  • Trace Analysis: Analyze Perfetto trace files to identify performance bottlenecks.
  • Domain Hints: Provide reference files for specific performance areas like CPU, Graphics, I/O, IPC, Memory, and Power.
  • Investigation Protocol: Follow a structured investigation protocol to diagnose and resolve performance issues.
  • Final Report: Generate a detailed report with findings and recommendations.

Quick Start

Analyze the provided trace file using the perfetto-trace-analysis skill.

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 an Android app trace file to find the cause of jank?

To analyze an Android app trace file for jank causes, you can use this Skill to process Perfetto trace files. It identifies performance bottlenecks by supporting in-depth analysis of CPU, Graphics, I/O, IPC, Memory, and Power domains to pinpoint the root cause of latency.

What is the best way to identify CPU and memory bottlenecks from a Perfetto trace?

The best way to identify CPU and memory bottlenecks from a Perfetto trace is to utilize Perfetto Standard Library modules. This Skill follows a structured investigation protocol to diagnose and resolve these specific performance issues across multiple domains.

Do I need to know Perfetto SQL to diagnose Android performance issues?

Yes, you need knowledge of Perfetto SQL and trace processing to diagnose Android performance issues using this approach. The Skill relies on these queries and Standard Library modules to retrieve and analyze trace data for latency and jank problems effectively.

Can I investigate graphics and I/O latency issues using Perfetto trace analysis?

Yes, you can investigate graphics and I/O latency issues using Perfetto trace analysis. The Skill provides domain hints and reference files for specific performance areas, enabling in-depth analysis to find the root cause of latency in Android apps comprehensively.

How does Perfetto trace analysis generate performance findings for Android apps?

Perfetto trace analysis generates performance findings for Android apps by following a structured investigation protocol. It utilizes Perfetto Standard Library modules to retrieve data, ultimately producing a detailed final report with findings and actionable recommendations.

What are the limitations of using Perfetto for Android app profiling?

A limitation of using Perfetto for Android app profiling is the requirement for specific prerequisite knowledge. Users must possess expertise in Perfetto SQL and trace processing to effectively query and analyze the trace files for memory and jank issues independently.