next.js
ea75cc56 - [Bench] Harden browser quiescence detection, retained-heap reads, CPU pinning

Commit
110 days ago
[Bench] Harden browser quiescence detection, retained-heap reads, CPU pinning Validated the settle loop against a synthetic pair of pages with equal JS cost where one defers it 100ms past the hydration mark: the fixed read point reported 0ms for the deferred page, the settled read reports 300ms for both. Building that demo exposed a residual hole — one quiet window declares quiescence during any scheduling gap longer than the window — so quiescence now requires two consecutive quiet windows. heapMb is now read after a forced GC (retained memory, not whatever allocation phase the page was in), and the server and browser get disjoint CPU sets on the VM so server render time and browser JS don't contend on wall milestones.
Author
Committer
Parents
Loading