Repository navigation
ci(bench): reset the Lynx main-thread caps and background pin for #1700 - #1710
Merged
Merged
Conversation
#1700 freezes a fresh root's decoded program runs so a first mount takes the dense host record store again. That costs the main thread 141 raw bytes: preview main gzip 83,657 -> 83,742 and IFR 89,331 -> 89,404, both over their measured + 32 caps. The weekly-only lynx-bundle-size gate never ran on that pull request. Raise both caps to the new measurement + 32. Re-pin the background program at 288,390: it shrank after the 2026-10-03 reset (#1652, #1662), and its exact pin is the next gate in the same block. Budget values and their comment only. Refs #1055 Co-Authored-By: Claude Opus 5.5 <[email protected]>
trueadm
marked this pull request as ready for review
October 4, 2026 15:47
5 of 7 tasks
Contributor
Benchmark report🟢 No budget breaches, no added work, and no timing changes beyond ±3%. Compares js-framework: 1k/10k row operationsAll 20 timed operations (20 without a verdict)
All 64 work counters are unchanged. Application bundle size (bytes)
50 other measured values are unchanged. Public-import reachability bundles (bytes)No changes across 105 measured values. |
This was referenced Oct 4, 2026
trueadm
added a commit
that referenced
this pull request
Oct 4, 2026
#1714 moved the universal hook cells into the owner kernel, which adds 8 raw bytes to the background program. run.mjs pins that size exactly, so the weekly lynx-bundle-size suite failed at 288,398 against the 288,390 that #1710 set. Budget value and comment only; the main-thread caps are unchanged. Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This budget-only PR covers the weekly
lynx-bundle-sizegates that #1700 broke, plus the background pin checked in the same block.Why the caps move.
lynx-rendercreate_10kwent from 1.93× to 1.08× ReactLynx.lynx-bundle-sizeruns only in the weekly bench, so fix(lynx): restore the dense first mount for decoded program runs #1700's CI never saw the growth.What changes in
benchmarks/lynx-bundle-size/run.mjs(NO_WORKLET_BUDGET, values and comment only).The background program shrank after the 2026-10-03 reset, through #1652 and #1662, so its exact pin was already failing. Main never reached that gate because the preview cap failed first.
Measured on
77504c160c:node benchmarks/bench.mjs lynx-bundle-sizeon macOS. The "before #1700" column builds the same tree withpackages/lynx/src/main-thread.tsfrom76b5b02671. The comment inrun.mjsrecords that Linux and macOS main-thread gzip differ by up to 2 bytes, which the +32 margin covers.Refs #1055
Validation
node benchmarks/bench.mjs lynx-bundle-size: everyrun.mjsgate passes.pnpm format:files:check benchmarks/lynx-bundle-size/run.mjspnpm format:check,pnpm typecheck, andpnpm testwere not run locally. This change edits budget constants only.Risk / follow-ups
inventory.mjsfails on the pre-existing frozen budgets ininventory-budgets.json. Web raw is 519,378 against 501,574, and those budgets have not changed since bench(lynx): inventory production bundle owners #718. That is a separate re-baseline, not covered here.Provenance
agent-authored)🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Note
Low Risk
Only benchmark budget constants and comments change; no product code or security-sensitive paths.
Overview
Re-baselines the
lynx-bundle-sizeweekly gates inrun.mjsso CI matches current main after #1700.NO_WORKLET_BUDGETraises preview and IFR main-thread gzip caps (83,688 → 83,774 and 89,362 → 89,436, measured + 32) because freezing a fresh root’s decoded program runs adds ~141 raw bytes on main while improving first-mount density. The background raw pin drops from 294,677 to 288,390 to match the smaller background program after the prior reset (#1652, #1662).Inline comments document the 77504c1 measurements and tie the main-thread bump to #1700; no runtime or benchmark logic changes.
Reviewed by Cursor Bugbot for commit ac1eef5. Bugbot is set up for automated code reviews on this repo. Configure here.