next.js
342f3443 - [Bench] Read browser counters at quiescence, isolate client hydration time

Commit
111 days ago
[Bench] Read browser counters at quiescence, isolate client hydration time A fixed read point (hydration mark + rAF) under-counts work the page schedules later — streamed Suspense hydration and lazily initialized Flight chunks land exactly there, so an arm that defers work past the read point would look artificially cheap. Poll TaskDuration until it stops moving instead, for the load phase and after client navigations. hydrate counts from navigationStart and so includes server time; the new hydrateClient (hydrated - ttfb) isolates the client's share so a server-side latency shift can't masquerade as a hydration change.
Author
Committer
Parents
Loading