Skip to content

Add markers to represent causal flows - #6488

Merged
mstange merged 1 commit into
firefox-devtools:mainfrom
staktrace:causal-p1
Nov 27, 2026
Merged

mstange merged 1 commit into
firefox-devtools:mainfrom
staktrace:causal-p1

Conversation

@staktrace

@staktrace staktrace commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Main | Deploy preview

Existing flow markers connect related work, but don't always have a strict causal relationship. If we want to build critical path analysis into the profiler, we need something like flow markers but that represent causal relationships. This PR adds new marker types to hold that data.

This just adds the new types without using them, so that new profiles holding these types can be handled. Subsequent PRs will add the actual critical path implementation.

Existing flow markers connect related work, but don't always have a
strict causal relationship. If we want to build critical path analysis
into the profiler, we need something like flow markers but that represent
causal relationships. This PR adds new marker types to hold that data.

This just adds the new types without using them, so that new profiles
holding these types can be handled. Subsequent PRs will add the actual
critical path implementation.
@staktrace

Copy link
Copy Markdown
Contributor Author

@mstange mstange left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@codecov

codecov Bot commented Nov 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.21%. Comparing base (bfe94af) to head (bbcf31b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6488   +/-   ##
=======================================
  Coverage   85.21%   85.21%           
=======================================
  Files         372      372           
  Lines       40690    40696    +6     
  Branches    11659    11658    -1     
=======================================
+ Hits        34675    34681    +6     
  Misses       5575     5575           
  Partials      440      440           

☔ 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.

@mstange
mstange added this pull request to the merge queue Nov 27, 2026
Merged via the queue into firefox-devtools:main with commit 2e3cb57 Nov 27, 2026
24 checks passed
@fatadel fatadel mentioned this pull request Dec 1, 2026
fatadel added a commit that referenced this pull request Dec 1, 2026
Changes:

[canova] Add localization guidelines to AGENTS.md (#6487)
[staktrace] Add markers to represent causal flows (#6488)
[zuhairkhalid229] Highlight more languages in the source view (#6475)
[kayaal34] Fix typos in developer docs (#6479)
[fatadel] Remove the search field hint (#6490)
[mstange] Add an interactive mode for profiler-cli (#6400)
[mstange] Make keyboard zooming in chart viewports center on the mouse position. (#6471)
[fatadel] Bump profiler-cli version to 0.16.0 (#6502)

And special thanks to our localizers:

de: Michael Köhler
el: Jim Spentzos
en-GB: Ian Neal
ia: Melo46
it: Francesco Lodolo
nl: Mark Heijl
ru: berry, Valery Ledovskoy
sv-SE: Andreas Pettersson
tr: Grk, Selim Şumlu
zh-TW: Pin-guang Chen
lando-worker Bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Dec 1, 2026
…ers,mstange

This goes with firefox-devtools/profiler#6488.
It adds the gecko-side definitions of the new flow-type markers needed for
critical path tracking in gecko profiles. It also bumps the profile
format version to 38 and updates the profiler version to the latest
production version, which has support for this format version.

Differential Revision: https://phabricator.services.mozilla.com/D347887
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Dec 2, 2026
…ers,mstange

This goes with firefox-devtools/profiler#6488.
It adds the gecko-side definitions of the new flow-type markers needed for
critical path tracking in gecko profiles. It also bumps the profile
format version to 38 and updates the profiler version to the latest
production version, which has support for this format version.

Differential Revision: https://phabricator.services.mozilla.com/D347887

UltraBlame original commit: c12c90022a2dfe36349803a0485a82db088c330f
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Dec 2, 2026
…ers,mstange

This goes with firefox-devtools/profiler#6488.
It adds the gecko-side definitions of the new flow-type markers needed for
critical path tracking in gecko profiles. It also bumps the profile
format version to 38 and updates the profiler version to the latest
production version, which has support for this format version.

Differential Revision: https://phabricator.services.mozilla.com/D347887

UltraBlame original commit: c12c90022a2dfe36349803a0485a82db088c330f
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Dec 2, 2026
…ers,mstange

This goes with firefox-devtools/profiler#6488.
It adds the gecko-side definitions of the new flow-type markers needed for
critical path tracking in gecko profiles. It also bumps the profile
format version to 38 and updates the profiler version to the latest
production version, which has support for this format version.

Differential Revision: https://phabricator.services.mozilla.com/D347887

UltraBlame original commit: c12c90022a2dfe36349803a0485a82db088c330f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants