firefox-devtools / firefox-devtools/profiler

Use different shading for off-cpu self time in the flame graph

Open
#5,896 1 comment 0 reactions 0 assignees View on GitHub
flame graph profile data timeline
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 5h
Merged PRs (30d)
30

Description

Each box in the flame graph currently has two pieces:
- The "non-self" piece, where there are callee boxes stack on top.
- The "self" piece, representing a call node's self samples.

The "self" piece is always on the right.

Once we know which samples are on-cpu samples and which samples are off-cpu samples, we can split the "self" piece into two sub-pieces:
- The "on-CPU self" piece
- The "off-CPU self" piece

And then we can shade the off-CPU self piece differently, for example give it less opacity.

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-1231)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.