Skip to content

feat: invert call stack in flame graph to render as icicle graph#6090

Open
cathaysia wants to merge 3 commits into
firefox-devtools:mainfrom
cathaysia:feat/icicle_graph
Open

feat: invert call stack in flame graph to render as icicle graph#6090
cathaysia wants to merge 3 commits into
firefox-devtools:mainfrom
cathaysia:feat/icicle_graph

fix(flame-graph): avoid expanding tiny inverted frames

1f13270
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Jun 26, 2026 in 0s

83.33% (-0.36%) compared to 2cb282f

View this Pull Request on Codecov

83.33% (-0.36%) compared to 2cb282f

Details

Codecov Report

❌ Patch coverage is 77.04082% with 45 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.33%. Comparing base (2cb282f) to head (1f13270).
⚠️ Report is 104 commits behind head on main.

Files with missing lines Patch % Lines
src/profile-logic/flame-graph.ts 72.26% 38 Missing ⚠️
src/selectors/per-thread/stack-sample.ts 81.48% 5 Missing ⚠️
src/components/flame-graph/Canvas.tsx 92.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6090      +/-   ##
==========================================
- Coverage   83.69%   83.33%   -0.36%     
==========================================
  Files         338      339       +1     
  Lines       35693    36098     +405     
  Branches     9904    10096     +192     
==========================================
+ Hits        29873    30084     +211     
- Misses       5392     5586     +194     
  Partials      428      428              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.