Repository navigation
ci(bench): raise byte budgets for lite-scope retry pruning in #1783 - #1794
Merged
Merged
Conversation
#1783 now also prunes retry owners from a lite component's first render (Bugbot review). Measured on main 2f88235 with #1783 merged in, that moves seven gzip budgets past their 32-byte headroom. Co-Authored-By: Claude Opus 5.5 <[email protected]>
trueadm
marked this pull request as ready for review
October 5, 2026 21:10
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
6 of 7 tasks
trueadm
added a commit
that referenced
this pull request
Oct 5, 2026
…#1772 and #1794 Same method as before: each budget is main's value minus the measured esbuild-to-Oxc difference on the merged source, never raised (131 lowered, 28 unchanged). The baseline record and home summary follow the new bytes; every ratio guard still holds with the ceilings already cut. Co-Authored-By: Claude Opus 5.5 <[email protected]>
7 of 8 tasks
trueadm
added a commit
that referenced
this pull request
Oct 5, 2026
#1783 landed and spent the headroom #1782/#1793/#1794 granted it. Each budget is again main's value minus the measured esbuild-to-Oxc difference on the merged source (131 lowered, 28 unchanged, none raised). The baseline record, home summary and refresh note follow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 5, 2026
trueadm
added a commit
that referenced
this pull request
Oct 5, 2026
…er fix (#1797) #1781 lands #1774's children signal owner and the Hydrate children fix on top of main c3c0a3b. #1773's raises for #1774 were used up by #1783's budgets (#1793, #1794), which were sized without #1774's code. Measured on main + #1781: 69 values breach, all raw or gzip; brotli fits everywhere. Each breached value goes to measured + 32; no other value moves. Co-authored-by: Claude Opus 5.5 <[email protected]>
4 tasks
trueadm
added a commit
that referenced
this pull request
Oct 6, 2026
* ci(bench): measure bundle sizes with Vite 8's default minifier The bundle-size and bundle-reachability harnesses forced Vite's `minify: 'esbuild'`. That mode turns Rolldown's own minifier off, and with it the dead-code elimination that removes branches guarded by a never-written module flag, so the numbers were not what a Vite app ships. - run.mjs builds every framework with `minify: 'oxc'` (Vite 8's default client minifier), still identical settings for every target. - run-minimal.mjs builds its Vite scenarios with `'oxc'`; the esbuild bundler scenarios keep esbuild's `minify: true`. The async-identity encoder check accepts Oxc's template-literal quotes. - Every budget is ratcheted down (144 lowered, 15 unchanged, 0 raised), the bundle-size baseline is re-recorded, the 18 cross-framework ratio guards are re-cut, and the website summary and copy follow. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ci(bench): re-measure the Oxc budgets on main with #1761 and #1782 Budgets move by the measured esbuild-to-Oxc difference on the same source (budget - max(0, esbuild - oxc)), so the methodology change lowers 131 values, keeps 28, raises none, and leaves the headroom #1782 granted to #1783 in place. The baseline, ratio guards and website summary are recomputed from the merged source. Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(website): compare home summary ceilings at stable precision The smoke test rounds each summary row to 15 significant digits because Math.log/exp can differ by one ULP between libc implementations, but it compared the bundle-size range ends exactly. Those ends are geometric means too: the recorded Solid ceiling was 0.9500824085923075 on macOS and 0.9500824085923076 on the Linux runner. Round them the same way. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ci(bench): re-derive the Oxc budgets on main with #1766, #1768, #1770, #1772 and #1794 Same method as before: each budget is main's value minus the measured esbuild-to-Oxc difference on the merged source, never raised (131 lowered, 28 unchanged). The baseline record and home summary follow the new bytes; every ratio guard still holds with the ceilings already cut. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ci(bench): re-derive the Oxc budgets on main with #1783 #1783 landed and spent the headroom #1782/#1793/#1794 granted it. Each budget is again main's value minus the measured esbuild-to-Oxc difference on the merged source (131 lowered, 28 unchanged, none raised). The baseline record, home summary and refresh note follow. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ci(bench): re-cut the cross-framework ratio guards after #1784 With #1784's hydrating flag folded by Oxc, Octane's totals shrink 8.5-10% instead of about 5%, so the total-gzip ceilings had grown about 6% loose. They are re-cut at about 1.5% headroom on the merged-source measurement; application-code ceilings are unchanged. All 72 bundle-size guards hold. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This branch was previously deployed
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 raises seven byte budgets for #1783 (the #1764 fix). It changes only the budget files, as CONTRIBUTING.md ("Size budgets") requires.
Bugbot found that a hookless same-module component, which renders as a lite scope rather than a Block, never pruned the retry owners it stopped rendering. #1783 now takes that scope's retry visit and prunes it. The change is small: I trimmed it until raw bytes fit the existing headroom. Gzip and brotli still move past their headroom in these seven budgets.
How the values were measured: on main
2f88235bb0with #1783 merged in (102e9522c4), usingnode benchmarks/bundle-size/run-minimal.mjs --write-budgetsandnode benchmarks/bundle-size/run.mjs --write-budgets octane-tsrx octane-jsx(measured + 32 raw/gzip, + 256 brotli). Only the raises are kept.Merge this before #1783.
minimal-budgetsroot-chained-jsx.gzipminimal-budgetsroot-static.gzipminimal-budgetshooks-state.gzipminimal-budgetscontext.gzipminimal-budgetsbinding-apollo-client-vite.brotliapp-budgetsbindings.framework.gzipapp-budgetsbindings.total.gzipValidation
node benchmarks/bundle-size/budget-raises.mjs --base origin/main --head HEAD: "7 raise(s) in a budget-only change"pnpm format:check,pnpm typecheck,pnpm test: left to CI (budget JSON only)Provenance
agent-authored)🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Note
Low Risk
JSON-only CI budget threshold updates with no production code or behavior changes in this PR.
Overview
Raises seven gzip/brotli bundle-size budgets in
minimal-budgets.jsonandapp-budgets.jsonso CI stays green after merging #1783 (lite-scope retry-owner pruning). There is no runtime or benchmark harness code in this diff—only committed budget ceilings.Updates are small per scenario (roughly +34–44 gzip on several minimal fixtures; +374 brotli on
binding-apollo-client-vite; +34/+35 gzip onbindings.frameworkandbindings.totalin app budgets). Values were remeasured with the budget write scripts and the usual headroom padding, per the size-budget workflow.Merge before #1783 so the fix PR does not fail bundle gates.
Reviewed by Cursor Bugbot for commit 2db4890. Bugbot is set up for automated code reviews on this repo. Configure here.