google / google/perfetto

Allow hiding C++ template parameters (and other similar things) in tree explorer

Open
#7,398 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
6.5k
Forks
868
Avg merge
2d 1h
Merged PRs (30d)
218

Description

C++ templates can get super long and are painful to look at in most cases. We should ideally add support to disable template visualization in the flamegraph.

Note that this should be done at the data level *not* the viz level so we get automatic merging across different sample types.

Contributor guide

Open the contributing guide

Research direction

Start by locating the tree explorer/flamegraph data pipeline and the C++ symbol or name normalization path. Determine where template parameters can be hidden before aggregation rather than only in visualization; done means the option works for flamegraphs and automatically merges samples that differ only in those parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.