firefox-devtools / firefox-devtools/profiler
Use different shading for off-cpu self time in the flame graph
Open
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
Assessment
This issue has not been assessed yet.