Release notes, performance investigations and deep dives from the people who build Perfetto.

rss_feed Atom feed

Hunting Duplicate Strings in Android Heap Dumps

A heap dump with 61,752 strings turned out to hold about 48,000 copies of just four values. Here's how to find that kind of duplication with PerfettoSQL and Heapdump Explorer, and how to fix it at the parser.

@goldenluk ·

Hunting Android memory leaks with Perfetto, SQL, and AI agents

From interactive dominator flamegraphs and warehouse-scale BigTrace queries to AI coding agents that trace a retained heap object straight to the buggy line of Kotlin and write the regression test.

@shaibarack ·

Diagnosing a 1 GB ViewTreeObserver Memory Leak with Perfetto

How a single background scrim view silently leaked nearly 1 GB of UI hierarchies in production, and how we diagnosed and fixed it using Perfetto.

@goldenluk ·

Perfetto v58

We’re excited to share Perfetto v58.2! This release makes it possible to merge traces from different machines onto one timeline, introduces Memscope and Memory Overview for end-to-end memory investigations, lets you keep a parsed trace running and analyze it through lightweight remote clients, adds Zstd trace compression, and substantially improves Perfetto’s AI-assisted analysis workflows. It also introduces a common stack-sampling format, new export options, and a collection of UI and SDK improvements.

@perfetto-team ·

Perfetto v57

We're excited to share Perfetto v57.1! This release introduces an installable AI skill that teaches coding agents how to use Perfetto, a long-awaited fix for overlapping events in JSON traces (commonly affecting the PyTorch profiler), state tracks, a brand-new track type alongside slices and counters, end-to-end support for systemd journald logs, a rework of the query results grid, and new SDK capabilities like nested tracks and correlation ids.

@perfetto-team ·

Perfetto v56

Perfetto v56.0 is out! This release adds more to the Heap Dump Explorer, a round of UI improvements, easier-to-read multi-machine traces, kernel-assisted stack sampling in traced_perf, and a few new SDK knobs.

@perfetto-team ·

Perfetto v55

We are excited to share Perfetto v55.1! Highlights include GPU-accelerated trace rendering, a new Heap Dump Explorer, native Linux heap profiling, a redesigned trace_processor shell, multi-GPU analysis, and a major docs refresh.

@perfetto-team ·