Skip to content

ci(bench): raise byte budgets for the children signal owner fix - #1773

Merged
trueadm merged 4 commits into
mainfrom
ci/children-signal-owner-budget
Oct 5, 2026
Merged

trueadm merged 4 commits into
mainfrom
ci/children-signal-owner-budget

Conversation

@trueadm

@trueadm trueadm commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Budget-only raise for #1774, which resolves a component's signal handles from the children it passes to other components. Since main gained #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 against main'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 new main.

Why

Measured with node benchmarks/bundle-size/run-minimal.mjs --write-budgets and node 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 exceeds main's; every other value is unchanged.

File Budget Before (main) After Raise
app rows.framework.raw 113103 113417 +314
app rows.framework.gzip 37339 37454 +115
app rows.total.raw 120238 120552 +314
app rows.total.gzip 39774 39888 +114
app todo.framework.raw 126147 126462 +315
app todo.framework.gzip 41089 41218 +129
app todo.total.raw 130958 131273 +315
app todo.total.gzip 43422 43549 +127
app chat.framework.raw 123607 123922 +315
app chat.framework.gzip 40357 40493 +136
app chat.total.raw 129597 129912 +315
app chat.total.gzip 43158 43262 +104
app weather.framework.raw 145397 145712 +315
app weather.framework.gzip 47302 47417 +115
app weather.total.raw 168135 168450 +315
app weather.total.gzip 55412 55527 +115
app bindings.framework.raw 360502 360838 +336
app bindings.framework.gzip 118118 118262 +144
app bindings.total.raw 715312 715648 +336
app bindings.total.gzip 239491 239629 +138
app bindings.total.brotli 204207 204480 +273
jsx framework.raw 219911 220208 +297
jsx framework.gzip 70079 70189 +110
jsx framework.brotli 60857 61119 +262
jsx total.raw 228370 228667 +297
jsx total.gzip 73015 73125 +110
jsx total.brotli 63367 63624 +257
minimal cli-spa-starter.raw 108976 109282 +306
minimal cli-spa-starter.gzip 36863 36976 +113
minimal root-static-specialized.raw 77425 77739 +314
minimal root-static-specialized.gzip 25735 25864 +129
minimal root-static-specialized.brotli 22997 23301 +304
minimal root-chained-jsx.raw 79465 79775 +310
minimal root-chained-jsx.gzip 26301 26408 +107
minimal root-static.raw 204593 204894 +301
minimal root-static.gzip 65174 65313 +139
minimal root-static-local.raw 77428 77742 +314
minimal root-static-local.gzip 25724 25849 +125
minimal root-static-local.brotli 23009 23322 +313
minimal hooks-state.raw 89488 89802 +314
minimal hooks-state.gzip 29740 29871 +131
minimal hooks-state.brotli 26520 26795 +275
minimal prop-attributes.raw 89971 90281 +310
minimal prop-attributes.gzip 29838 29947 +109
minimal context.raw 103895 104208 +313
minimal context.gzip 34442 34550 +108
minimal hydrate-root.raw 169866 170130 +264
minimal hydrate-root.gzip 53864 53955 +91
minimal deferred-hydration.raw 233383 233682 +299
minimal deferred-hydration.gzip 73794 73914 +120
minimal suspense-transition.raw 160348 160626 +278
minimal suspense-transition.gzip 51464 51547 +83
minimal server-render.raw 65201 65531 +330
minimal server-render.gzip 22499 22629 +130
minimal component-owned-effects.raw 81941 82251 +310
minimal component-owned-effects.gzip 27022 27141 +119
minimal component-owned-effects.brotli 24146 24421 +275
minimal binding-hooks.raw 88004 88318 +314
minimal binding-hooks.gzip 29469 29602 +133
minimal binding-base-ui-vite.raw 214853 215150 +297
minimal binding-base-ui-vite.gzip 68783 68889 +106
minimal binding-base-ui-vite.brotli 59686 60024 +338
minimal binding-base-ui-esbuild.raw 212795 213090 +295
minimal binding-base-ui-esbuild.gzip 68693 68819 +126
minimal binding-radix-vite.raw 216769 217066 +297
minimal binding-radix-vite.gzip 69314 69459 +145
minimal binding-radix-vite.brotli 60196 60501 +305
minimal binding-radix-esbuild.raw 214670 214965 +295
minimal binding-radix-esbuild.gzip 69302 69414 +112
minimal binding-mantine-hooks-vite.raw 91312 91622 +310
minimal binding-mantine-hooks-vite.gzip 30321 30428 +107
minimal binding-mantine-hooks-esbuild.raw 90961 91269 +308
minimal binding-mantine-hooks-esbuild.gzip 30484 30598 +114
minimal binding-apollo-client-vite.raw 359820 360156 +336
minimal binding-apollo-client-vite.gzip 112809 112941 +132
minimal binding-apollo-client-esbuild.raw 362749 363080 +331
minimal binding-apollo-client-esbuild.gzip 115051 115198 +147
minimal binding-apollo-client-esbuild.brotli 100390 100722 +332
minimal binding-usehooks-ts-vite.raw 92093 92403 +310
minimal binding-usehooks-ts-vite.gzip 30567 30674 +107
minimal binding-usehooks-ts-esbuild.raw 91727 92035 +308
minimal binding-usehooks-ts-esbuild.gzip 30701 30798 +97

Validation

Provenance

  • An agent produced this diff (agent-authored)

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with 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, and minimal-budgets.json so 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-render on the minimal suite; app-only rows are unchanged. Values follow measured output plus the repo’s usual padding (+32 raw/gzip, +256 brotli where applied).

Reviewed by Cursor Bugbot for commit a0a2dc4. Bugbot is set up for automated code reviews on this repo. Configure here.

trueadm and others added 3 commits October 5, 2026 12:58
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]>
@vercel

vercel Bot commented Oct 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated
octane-website Skipped Skipped Oct 5, 2026 12:37pm UTC
octane-website-mcp Skipped Skipped Oct 5, 2026 12:37pm UTC

Request Review

@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent ci PR: CI or build pipeline labels Oct 5, 2026
@trueadm
trueadm marked this pull request as ready for review October 5, 2026 12:38
@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Benchmark report

🟢 No budget breaches, no added work, and no timing changes beyond ±3%.

Compares e233e4a11, the merge commit's first parent with 09548b988 on the same runner. A byte value over its committed budget or any increase in a js-framework work counter fails this check. Wall time is a report: base and head samples alternate in one browser, and an operation is called slower or faster only when the 95% confidence interval of its ratio excludes ±3%. Workflow run

js-framework: 1k/10k row operations

All 20 timed operations (20 without a verdict)
target operation base ms head ms head/base 95% CI
octane-tsrx run 6.467 4.917 −4.2% −17.0% … +3.8% ⚪ within noise
octane-tsrx replace 10.542 12.142 +0.6% −3.5% … +15.5% ⚪ within noise
octane-tsrx add 4.283 3.533 −3.4% −58.1% … +1.1% ⚪ within noise
octane-tsrx update 0.225 0.205 −1.7% −33.7% … +12.6% ⚪ within noise
octane-tsrx select 0.013 0.014 +15.0% −3.9% … +56.1% ⚪ within noise
octane-tsrx swap 0.088 0.102 +5.6% −0.0% … +59.9% ⚪ within noise
octane-tsrx remove 0.050 0.043 +2.8% −18.5% … +10.2% ⚪ within noise
octane-tsrx runlots 48.108 39.358 −7.6% −48.8% … +2.9% ⚪ within noise
octane-tsrx select_lots 0.012 0.009 −1.2% −3.8% … +2.2% ⚪ within noise
octane-tsrx clear 51.058 54.950 +1.9% −4.9% … +12.5% ⚪ within noise
octane-jsx run 5.817 8.167 −5.3% −36.2% … +5.6% ⚪ within noise
octane-jsx replace 16.067 15.808 +2.8% −10.0% … +10.3% ⚪ within noise
octane-jsx add 5.658 8.825 +8.7% −0.1% … +127.2% ⚪ within noise
octane-jsx update 0.602 0.453 −2.8% −43.5% … +4.6% ⚪ within noise
octane-jsx select 0.267 0.265 −5.3% −9.7% … +11.2% ⚪ within noise
octane-jsx swap 0.489 0.447 −3.4% −7.3% … +5.0% ⚪ within noise
octane-jsx remove 0.301 0.300 −2.4% −12.3% … +3.9% ⚪ within noise
octane-jsx runlots 64.933 61.242 −1.3% −13.7% … +7.4% ⚪ within noise
octane-jsx select_lots 6.387 4.183 −1.8% −27.1% … +15.7% ⚪ within noise
octane-jsx clear 91.792 90.200 +7.7% −4.3% … +22.4% ⚪ within noise

All 64 work counters are unchanged.

Application bundle size (bytes)

target metric base head Δ
octane-tsrx bindings_js_gzip 239,481 239,468 −13 (−0.0%) 🟢
octane-tsrx bindings_js_brotli 204,088 203,984 −104 (−0.1%) 🟢
octane-tsrx bindings_app_gzip 121,381 121,368 −13 (−0.0%) 🟢
octane-tsrx bindings_app_brotli 101,572 101,468 −104 (−0.1%) 🟢

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]>
@trueadm
trueadm merged commit 2aac5bb into main Oct 5, 2026
28 of 29 checks passed
@trueadm
trueadm deleted the ci/children-signal-owner-budget branch October 5, 2026 18:32
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]>
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-authored Diff or issue body substantially produced by an AI agent ci PR: CI or build pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant