google / google/perfetto

Execution time distribution across CPU cluster

Open
#4,048 5 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

Hi,

perfetto ui will show the distribution of a tag slice 's execution time across each CPU core, such as tag **DrawFrame** image bellow, we can see **big/little/medium** time spent on every cpu cluster. BUT

![Image](https://github.com/user-attachments/assets/dc124ef5-547e-4aa9-8350-f1ff768f3541)

But, not every logic with a tag, such as thread pool or select sched slice across multi tag, the image bellow shows a thread pool that I select all four threads.
We also want to see the distribution of execution time across each CPU core when it fluctuates significantly, to determine whether performance variations are caused by core switching.

So, I would like to know if you have any plans to support this feature.

![Image](https://github.com/user-attachments/assets/2ce45b84-952b-4db4-b780-0f336390a036)

Contributor guide

Open the contributing guide

Research direction

Start in the Perfetto UI at the existing tag-slice execution-time distribution view across CPU cores, then compare it with the multi-thread thread-pool and multi-tag sched-slice selections described here. Done means showing execution-time distribution by CPU core for those selections, including cases where execution fluctuates across cores.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data-visualization, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.