You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check the impact of a change: record a trace on main and another on a PR branch, and see what changed. Today you run overview and other commands on both traces and compare the output by hand, or ask an agent to do it, which costs tokens and is easy to get wrong.
Core Web Vitals per metric: baseline, candidate, delta and rating change (for example good → needs-improvement).
Main thread busy time (total minus idle) per category. Idle is left out because two recordings rarely have the same length.
Long task count and blocking time (sum of dur - 50ms), named blockingMs so it is not confused with Lighthouse TBT.
Top function regressions by self time, reusing the aggregation in diff.
A warning if the main URLs differ.
Open questions
Noise: one trace per side gives noisy CWV deltas. A first version could compare a single pair and focus on rating changes. A later version could accept several traces per side and compare medians.
Naming: diff compares two windows in one trace, and compare would compare two traces. The names could be confusing.
Scope: does this belong in this CLI, or is it better left to the agent (run overview on both traces and compare)?
I also think a compare function would be incredibly great. From talking to other devs, even a "compare traces A, B, C" may make sense (or 3x "before" and 3x "after", to sort out variance).
This is of course non-trivial, so we may need to brainstorm (and iterate) on how this could look like, because comparing a trace that differs in length may not be so easy (and also if the bundle happens to have changed, matching JS functions).
Activity
kurtextrem commentedon Nov 21, 2026
I also think a compare function would be incredibly great. From talking to other devs, even a "compare traces A, B, C" may make sense (or 3x "before" and 3x "after", to sort out variance).
This is of course non-trivial, so we may need to brainstorm (and iterate) on how this could look like, because comparing a trace that differs in length may not be so easy (and also if the bundle happens to have changed, matching JS functions).