perf(ratchet): reset the viewer entry-JS ceiling to main at a50001da9a
Merged
LO
10d ago+3+3+0123456789-3-3-0123456789
Resets the viewer-entry-js-bytes ceiling to what main measures today. Maintainer decision (same shape as #10852).
Why
- The ceiling has been 2,000,098 bytes (allowed 2,002,098 with the 0.10% band) since
e0632edf1eon 2026-11-19. - Today
mainmeasures 2,002,030 ata50001da9a, withscripts/perf-ratchet/measure-bundle.mjsafterpnpm build:wasm && pnpm build:e2eon the fleet. The band has 68 bytes left. On earlier merge refs today,mainalone was already about 18 bytes over. - So a PR that adds any code to the entry chunk fails the gate, whatever its own size. #10880 hit this: after moving all of its readback logic to a lazy chunk it still adds 807 bytes (a small released-scene check plus one call per measure handler), and it cannot pass while the band is spent by
main.
What was tried first
The documented default is to lazy-load new code, and #10880 did that (+2,053 ā +807 bytes). Trimming unrelated eager code to make room would only move the breach to whichever PR merges next.
Change
ceiling: 2,000,098 ā 2,002,030 (main's measured value).provenance:a50001da9a, measured 2026-11-20T18:22:41Z.toleranceunchanged (relative 0.001).node scripts/perf-ratchet/perf-ratchet.mjs check --measured <main measurement>passes, with entry at its ceiling.
The daily lowering job pulls the ceiling back down when main shrinks. The same measurement shows viewer-eager-js-bytes at 13,374,681, 90,659 below its ceiling, so that job will lower the eager ceiling once this is on main.
š¤ Generated with Claude Code
Summary by CodeRabbit
- Chores
- Updated the tracked size allowance for the viewer experience based on a recent measurement. This affects performance-budget tracking only; it does not change product features, functionality, or behavior visible to users. No other user-facing changes are included in this update.