next.js
a72bab87 - [Bench] LCP/blocking-time metrics, DOM-settled nav, unsettled-sample reporting

Commit
110 days ago
[Bench] LCP/blocking-time metrics, DOM-settled nav, unsettled-sample reporting lcp and blocking (over-50ms long-task time up to the hydration mark, the TBT construction) come from buffered PerformanceObservers — no tracing, so the timed pass stays cheap. Client navigations now detect the URL commit through page events instead of an in-page 5ms poll, which removes ~40-50ms of self-inflicted script time from the navScript delta, and report navSettled (wall time to the last DOM mutation) next to nav (wall to commit). Samples that never quiesce (steady background timers) surface through the row's errors field instead of silently reporting windowed counter reads as totals.
Author
Committer
Parents
Loading