What problem does it solve?
Diagnosing Android performance issues like jank, memory leaks, slow app startup, and CPU bottlenecks requires deep expertise in Perfetto traces, heap dumps, and SQL-based trace analysis, which is time-consuming and error-prone to do manually.
Core Features & Use Cases
- Trace Recording: Record system traces, Java heap dumps, native heap profiles, and CPU callstack samples on Android devices using official Perfetto helper scripts or custom trace configs.
- Trace Analysis: Triage and root-cause performance issues such as jank, ANRs, startup latency, and memory pressure by following structured investigation protocols with subsystem expert hints (CPU, graphics, I/O, IPC, memory, power).
- Ad-hoc PerfettoSQL: Write, debug, and execute PerfettoSQL queries against trace files using trace_processor sessions, with schema validation and standard library best practices.
- Use Case: A user notices dropped frames in their app, records a system trace with the recording workflow, then runs the trace analysis workflow to identify that a binder transaction to system_server blocked the main thread for 150ms.
Quick Start
Ask your agent to record a system trace of your app and analyze it to find the root cause of the jank you are seeing.