google / google/perfetto

Add support for comparing two different traces in the UI

Open
#2,780 9 comments 74 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement javascript
Dominant language
C++
Stars
6.5k
Forks
872
Avg merge
2d 1h
Merged PRs (30d)
218

Description

At some point, we should add support for comparing traces:
* taking on the same machine at two different times
* taken on two different machines potentially at the same or different times

The UX for what the diffing should look like is very much TBD. We definitely need to take inspiration from other tools which do this (though not many try and allow for diffing full traces, they usually extract some aggregate and diff that).

One feature we definitely want of course is flamegraph diffing based on selections from each trace. We might even make this a top-level hero feature given its importance

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by researching how other tools compare full traces and by defining the UX for selecting and comparing two traces, including flamegraph diffing; done requires an agreed design and implementation scope.

Written by the indexing model from the issue text.

Assessment

Domain
data-visualization, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.