google / google/perfetto

Allow user to define histogram size

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

Description

I'm using perfetto UI for a lot of performance debugging. I see there is an option to create histogram from the pivot table. Currently, it seems the histogram size is automatically calculated and no way to override it.

It would be very useful if there is a way to allow users to define histogram size (e.g. number of buckets, or size of the bucket) so we can get more fine grain distribution.

Contributor guide

Open the contributing guide

Research direction

Start at the Perfetto UI pivot-table histogram entry point and trace how histogram size is currently calculated. Define how users should provide a bucket count or bucket size, then verify that the resulting histogram uses that setting and preserves the existing behavior when no override is provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.