Repository navigation
ci(bench): raise byte budgets for the children signal owner fix - #1773
Merged
Merged
Conversation
Make room for resolving a component's signal handles from its nested
`@{ … }` blocks: about 70 minified bytes in client owner creation and 159 on
the server render path. Only raised values; no budget is lowered.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…l-owner-budget # Conflicts: # benchmarks/bundle-size/minimal-budgets.json
Compiled children now record the owner of the template that authored them, and scopeSignalOwner links their owner, or a context provider's, to it. That adds about 112-151 raw bytes to every client bundle and 171 to server-render. Values are measured on the fix branch plus 32 raw/gzip and 256 brotli, and only raise #1760's values. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
5 of 8 tasks
trueadm
marked this pull request as ready for review
October 5, 2026 12:38
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)
56 other measured values are unchanged. Public-import reachability bundles (bytes)No changes across 105 measured values. |
…ner-budget # Conflicts: # benchmarks/bundle-size/app-budgets.json # benchmarks/bundle-size/minimal-budgets.json
trueadm
added a commit
that referenced
this pull request
Oct 5, 2026
…stack #1773 now raises against main (e233e4a). On that stack the Hydrate children fix measures deferred-hydration at 233,775 raw / 73,912 gzip / 63,763 brotli. Only raw breaches #1773's 233,682, so raw goes to measured + 32 and every other value keeps #1773's. 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
Main now carries #1773 and #1782's raises. Taking the max per value leaves every budget at main's: on the new main the Hydrate children fix measures deferred-hydration at 233,775 raw / 73,912 gzip / 63,763 brotli, under main's 234,315 / 74,141 / 63,955, and no other budget is breached. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 task done
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
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
Budget-only raise for #1774, which resolves a component's signal handles from the children it passes to other components. Since
maingained #1762 and #1759, it also covers #1761, which #1774 contains. It changes only the three budget files.This branch started from #1760's head. After merging
main(e233e4a), every value is recomputed againstmain's new budgets, so the diff no longer depends on #1760. If this PR merges first, #1760 is redundant. If #1760 merges first, I'll regenerate this one against the newmain.Why
main. That is fix(octane): resolve a component's signal handles from its nested@{ … }blocks #1761 plus this fix: about +264 to +336 raw on client bundles and +330 onserver-render.@{ … }blocks #1761 merged withmainalone gives about +166 raw onrowsand +159 onserver-render. fix(octane): resolve a component's signal handles from the children it passes #1774 therefore adds about +148 raw on client bundles, the same as before perf(octane): stop shipping the signal binding runtime in apps without signals #1762.markChildrenBlock).scopeSignalOwnerlinks a children block's owner, or a context provider's, to it. On the server, the same applies to children in a slot and to built-ins that render children inline (Suspense, ViewTransition, ErrorBoundary, context providers).<Card>{record$.get()}</Card>starts a second request in the browser and on the server, hydration cannot resume the server's result, and derived reads compute from stale signal copies.Measured with
node benchmarks/bundle-size/run-minimal.mjs --write-budgetsandnode benchmarks/bundle-size/run.mjs --write-budgets octane-tsrx octane-jsx(Node 24.18). Each value is measured + 32 raw/gzip and + 256 brotli. A value is raised only where it exceedsmain's; every other value is unchanged.approws.framework.rawapprows.framework.gzipapprows.total.rawapprows.total.gzipapptodo.framework.rawapptodo.framework.gzipapptodo.total.rawapptodo.total.gzipappchat.framework.rawappchat.framework.gzipappchat.total.rawappchat.total.gzipappweather.framework.rawappweather.framework.gzipappweather.total.rawappweather.total.gzipappbindings.framework.rawappbindings.framework.gzipappbindings.total.rawappbindings.total.gzipappbindings.total.brotlijsxframework.rawjsxframework.gzipjsxframework.brotlijsxtotal.rawjsxtotal.gzipjsxtotal.brotliminimalcli-spa-starter.rawminimalcli-spa-starter.gzipminimalroot-static-specialized.rawminimalroot-static-specialized.gzipminimalroot-static-specialized.brotliminimalroot-chained-jsx.rawminimalroot-chained-jsx.gzipminimalroot-static.rawminimalroot-static.gzipminimalroot-static-local.rawminimalroot-static-local.gzipminimalroot-static-local.brotliminimalhooks-state.rawminimalhooks-state.gzipminimalhooks-state.brotliminimalprop-attributes.rawminimalprop-attributes.gzipminimalcontext.rawminimalcontext.gzipminimalhydrate-root.rawminimalhydrate-root.gzipminimaldeferred-hydration.rawminimaldeferred-hydration.gzipminimalsuspense-transition.rawminimalsuspense-transition.gzipminimalserver-render.rawminimalserver-render.gzipminimalcomponent-owned-effects.rawminimalcomponent-owned-effects.gzipminimalcomponent-owned-effects.brotliminimalbinding-hooks.rawminimalbinding-hooks.gzipminimalbinding-base-ui-vite.rawminimalbinding-base-ui-vite.gzipminimalbinding-base-ui-vite.brotliminimalbinding-base-ui-esbuild.rawminimalbinding-base-ui-esbuild.gzipminimalbinding-radix-vite.rawminimalbinding-radix-vite.gzipminimalbinding-radix-vite.brotliminimalbinding-radix-esbuild.rawminimalbinding-radix-esbuild.gzipminimalbinding-mantine-hooks-vite.rawminimalbinding-mantine-hooks-vite.gzipminimalbinding-mantine-hooks-esbuild.rawminimalbinding-mantine-hooks-esbuild.gzipminimalbinding-apollo-client-vite.rawminimalbinding-apollo-client-vite.gzipminimalbinding-apollo-client-esbuild.rawminimalbinding-apollo-client-esbuild.gzipminimalbinding-apollo-client-esbuild.brotliminimalbinding-usehooks-ts-vite.rawminimalbinding-usehooks-ts-vite.gzipminimalbinding-usehooks-ts-esbuild.rawminimalbinding-usehooks-ts-esbuild.gzipValidation
node benchmarks/bundle-size/budget-raises.mjs --base origin/main: 82 raises in a budget-only change.mainfits every value: it was measured to produce them, and all reachability gates pass.Provenance
agent-authored)🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Note
Low Risk
Budget JSON only; no runtime or build logic changes.
Overview
Raises CI bundle-size ceilings in
app-budgets.json,jsx-budgets.json, andminimal-budgets.jsonso benchmarks stay green after the upcoming children signal owner runtime work (octane#1774).Framework and total raw/gzip (and some brotli) limits go up by roughly ~112–171 raw bytes on affected client scenarios and
server-renderon the minimal suite; app-only rows are unchanged. Values follow measured output plus the repo’s usual padding (+32raw/gzip,+256brotli where applied).Reviewed by Cursor Bugbot for commit a0a2dc4. Bugbot is set up for automated code reviews on this repo. Configure here.