Skip to content

ci(bench): measure bundle sizes with Vite 8's default minifier - #1792

Merged
trueadm merged 17 commits into
mainfrom
ci/bundle-size-vite-minifier
Oct 6, 2026
Merged

trueadm merged 17 commits into
mainfrom
ci/bundle-size-vite-minifier

Conversation

@trueadm

@trueadm trueadm commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The bundle-size benchmarks now build with Vite 8's default minifier ('oxc') instead of a forced minify: 'esbuild', so they measure what a real Vite application ships. Dominic decided this on 2026-10-05.

  • run.mjs builds every framework target, and every framework's ceiling, with minify: 'oxc'. All frameworks still get identical settings (minify: 'oxc', target: 'esnext').
  • run-minimal.mjs builds its Vite scenarios with 'oxc'. The esbuild-bundler scenarios keep esbuild's minify: true because they represent esbuild users; their bytes are unchanged.
  • Every committed budget moves down or stays put: 131 lowered, 28 unchanged, 0 raised. budget-raises.mjs --base origin/main reports "no committed byte budget was raised", so no budget-only PR is needed.
  • The bundle-size baseline is re-recorded, the 18 cross-framework ratio guards are re-cut, and the website's home summary and card copy follow.

Why

Vite's 'esbuild' mode sets Rolldown's output.minify to false and minifies each chunk afterwards with esbuild ([email protected], dist/node/chunks/node.js, buildOutputOptions). That drops Rolldown's own minifier, and with it the dead-code elimination that removes branches guarded by a never-written module flag. Applications get 'oxc' unless they opt out. That gap matters for #1784's Svelte 5-style hydrating flag: a prototype saved 3.0 kB gzip on a createRoot probe and 1.3 kB on the js-framework app, but only under Vite's default minifier.

The fixture apps' own vite.config.js files keep 'esbuild', because the timing suites build from them. run.mjs therefore names 'oxc' inline, and its inline config already wins over the app config for these keys.

Before / after, total gzip bytes per fixture

Both columns were measured from the same source, main at 91079dde42 (#1784), on the same machine. Every framework shrinks under Oxc. Svelte 5 and Vue Vapor shrink most, consistent with module-flag folding that esbuild's per-chunk pass cannot do.

Framework rows TodoMVC chat weather whole client runtime
Octane (.tsrx) 39,597 → 36,232 (-8.5%) 42,859 → 39,033 (-8.9%) 42,653 → 38,850 (-8.9%) 54,955 → 50,131 (-8.8%) 176,670 → 168,860 (-4.4%)
Octane (.tsx) 72,546 → 65,298 (-10.0%) — — — 176,670 → 168,860 (-4.4%)
React 19 63,308 → 62,401 (-1.4%) 61,662 → 60,706 (-1.6%) 62,475 → 61,547 (-1.5%) 68,143 → 67,127 (-1.5%) 60,408 → 59,474 (-1.5%)
Preact 10 9,990 → 9,782 (-2.1%) 6,841 → 6,677 (-2.4%) 7,607 → 7,453 (-2.0%) 10,641 → 10,401 (-2.3%) 10,471 → 10,262 (-2.0%)
Solid 2 beta 15,399 → 14,718 (-4.4%) 14,864 → 14,152 (-4.8%) 15,711 → 15,020 (-4.4%) 19,042 → 18,307 (-3.9%) 40,064 → 38,264 (-4.5%)
Svelte 5 18,325 → 15,233 (-16.9%) 18,530 → 15,385 (-17.0%) 19,164 → 16,050 (-16.2%) 24,317 → 21,097 (-13.2%) 33,950 → 31,998 (-5.7%)
Ripple 0.4 15,029 → 14,697 (-2.2%) 16,100 → 15,723 (-2.3%) 15,819 → 15,436 (-2.4%) — 27,677 → 26,919 (-2.7%)
Inferno 9 10,507 → 10,336 (-1.6%) 9,567 → 9,389 (-1.9%) 10,388 → 10,221 (-1.6%) 12,942 → 12,718 (-1.7%) 8,731 → 8,555 (-2.0%)
Vue Vapor 3.6 RC — 24,408 → 18,975 (-22.3%) 25,988 → 20,535 (-21.0%) — 84,050 → 79,681 (-5.2%)
Vue 3.6 RC — — — 32,107 → 30,791 (-4.1%) 83,981 → 79,562 (-5.3%)

Octane (.tsrx) budgeted apps, gzip, application / framework

App application framework total
rows 2,435 → 2,335 (-4.1%) 37,162 → 33,897 (-8.8%) 39,597 → 36,232 (-8.5%)
TodoMVC 2,332 → 2,219 (-4.8%) 40,527 → 36,814 (-9.2%) 42,859 → 39,033 (-8.9%)
chat 2,770 → 2,714 (-2.0%) 39,883 → 36,136 (-9.4%) 42,653 → 38,850 (-8.9%)
weather 8,109 → 7,869 (-3.0%) 46,846 → 42,262 (-9.8%) 54,955 → 50,131 (-8.8%)
bindings 121,374 → 115,569 (-4.8%) 117,850 → 107,821 (-8.5%) 239,224 → 223,390 (-6.6%)
rows (.tsx) 2,935 → 2,857 (-2.7%) 69,611 → 62,441 (-10.3%) 72,546 → 65,298 (-10.0%)
Reachability scenarios (run-minimal.mjs), gzip
Scenario gzip raw
capture-only 4,394 → 4,264 (-130) 11,436 → 11,203 (-233)
cli-spa-starter 36,698 → 33,415 (-3283) 108,275 → 100,429 (-7846)
root-static-specialized 25,636 → 23,672 (-1964) 76,875 → 72,273 (-4602)
root-chained-jsx 26,177 → 24,202 (-1975) 78,919 → 74,230 (-4689)
root-static 64,725 → 58,190 (-6535) 202,872 → 186,592 (-16280)
root-static-local 25,621 → 23,653 (-1968) 76,878 → 72,272 (-4606)
hooks-state 29,639 → 27,623 (-2016) 88,948 → 84,022 (-4926)
prop-attributes 29,708 → 27,628 (-2080) 89,456 → 84,276 (-5180)
context 34,315 → 31,321 (-2994) 103,291 → 96,220 (-7071)
hydrate-root 55,178 → 52,615 (-2563) 172,309 → 166,814 (-5495)
deferred-hydration 75,733 → 72,282 (-3451) 237,508 → 230,816 (-6692)
suspense-transition 51,451 → 44,576 (-6875) 160,064 → 141,698 (-18366)
server-hooks 329 → 324 (-5) 477 → 472 (-5)
server-render 22,597 → 22,031 (-566) 65,499 → 64,032 (-1467)
component-owned-effects 26,934 → 24,994 (-1940) 81,389 → 76,664 (-4725)
binding-vanilla 424 → 405 (-19) 648 → 617 (-31)
binding-hooks 29,360 → 27,278 (-2082) 87,468 → 82,521 (-4947)
behavior-root-vite 4,540 → 4,437 (-103) 13,667 → 13,466 (-201)
behavior-root-esbuild 4,672 → 4,672 (+0) 13,945 → 13,945 (+0)
binding-base-ui-vite 68,262 → 61,342 (-6920) 212,937 → 195,362 (-17575)
binding-base-ui-esbuild 68,209 → 68,209 (+0) 210,925 → 210,925 (+0)
binding-aria-vite 3,056 → 2,886 (-170) 7,931 → 7,391 (-540)
binding-aria-esbuild 3,331 → 3,331 (+0) 8,603 → 8,603 (+0)
binding-motion-vite 22,919 → 21,450 (-1469) 63,949 → 61,468 (-2481)
binding-motion-esbuild 23,078 → 23,078 (+0) 63,943 → 63,943 (+0)
binding-radix-vite 68,805 → 61,958 (-6847) 214,853 → 197,443 (-17410)
binding-radix-esbuild 68,794 → 68,794 (+0) 212,801 → 212,801 (+0)
binding-floating-ui-vite 4,452 → 4,298 (-154) 11,063 → 10,694 (-369)
binding-floating-ui-esbuild 4,602 → 4,602 (+0) 11,307 → 11,307 (+0)
binding-mantine-hooks-vite 30,195 → 28,245 (-1950) 90,768 → 86,079 (-4689)
binding-mantine-hooks-esbuild 30,338 → 30,338 (+0) 90,437 → 90,437 (+0)
binding-apollo-client-vite 112,372 → 103,666 (-8706) 358,146 → 337,853 (-20293)
binding-apollo-client-esbuild 114,588 → 114,588 (+0) 361,113 → 361,113 (+0)
binding-usehooks-ts-vite 30,427 → 28,464 (-1963) 91,549 → 86,845 (-4704)
binding-usehooks-ts-esbuild 30,571 → 30,571 (+0) 91,203 → 91,203 (+0)

Raw and brotli move the same way. No Octane metric grows in any app. The only increases anywhere are React weather app_brotli (+9 B, no budget) and server-hooks brotli (+2 B, inside its budget).

How the budgets move: by the methodology difference, not a fresh re-cut

main's budgets are not all at measured + 32. While this PR was open, #1782, #1793 and #1794 raised budgets ahead of #1783; #1782 alone raised 103 values by a median of +324 B. A fresh --write-budgets would have erased that headroom and forced yet another budget PR for #1783. This PR changes only the ruler, so each budget moves by the difference the new minifier makes on the same source:

new budget = main budget − max(0, esbuild bytes − Oxc bytes)

A strict re-cut to Oxc + 32 (--write-budgets once per harness) would now move only those 28 small values.

Ratio guards (benchmarks/baselines/ratios.json)

One guard, rows total gzip versus Svelte 5, breaches main's ceiling under the new methodology even though Octane shrank, because Svelte's framework bytes fall 16–19% under Oxc. All 18 cross-framework guards are re-cut at the current ratio plus about 1.5% headroom, in line with the existing notes' 1–1.8%. Each note records both measurements on the merged source with #1784. The total-gzip ceilings mostly tighten, because #1784's flag folds under Oxc and Octane's totals now shrink 8.5–10%. The 159 maxRatio: 1 budget guards are unchanged, because they read the budget files.

Guard before (esbuild) after (Oxc) ceiling
app_gzip octane-jsx / octane-tsrx 1.205 1.224 1.24 → 1.25
js_gzip octane-tsrx / ripple 2.635 2.465 2.82 → 2.51
js_gzip octane-tsrx / solid 2.571 2.462 2.76 → 2.5
app_gzip octane-tsrx / ripple 0.982 0.958 1.06 → 0.98
app_gzip octane-tsrx / solid 1.223 1.203 1.31 → 1.23
todo_app_gzip octane-tsrx / solid 1.809 1.791 1.99 → 1.82
todo_app_gzip octane-tsrx / ripple 1.108 1.085 1.28 → 1.11
chat_app_gzip octane-tsrx / solid 1.318 1.313 1.45 → 1.34
chat_app_gzip octane-tsrx / ripple 1.090 1.089 1.2 → 1.11
js_gzip octane-tsrx / svelte 2.161 2.379 (breaches old) 2.32 → 2.42
app_gzip octane-tsrx / svelte 1.059 1.035 1.14 → 1.06
todo_js_gzip octane-tsrx / svelte 2.313 2.537 2.57 → 2.58
todo_app_gzip octane-tsrx / svelte 1.543 1.541 1.69 → 1.57
chat_js_gzip octane-tsrx / svelte 2.226 2.421 2.48 → 2.46
chat_app_gzip octane-tsrx / svelte 1.215 1.217 1.34 → 1.24
weather_js_gzip octane-tsrx / react 0.806 0.747 0.91 → 0.76
weather_app_gzip octane-tsrx / react 1.063 1.043 1.6 → 1.06
weather_fw_gzip octane-tsrx / react 0.774 0.709 0.87 → 0.72

Changes

  • benchmarks/bundle-size/run.mjs, run-minimal.mjs, apps/bindings/octane-tsrx/vite.config.js: Oxc for the Vite builds, with the fairness note updated. The server-render reachability check matched the async-identity encoder's padStart(4, "0") with ["'] quotes. Oxc prints `0`, so the class now accepts a backtick. This is a harness pattern fix, not a bundle change.
  • minimal-budgets.json, app-budgets.json, jsx-budgets.json: shifted as above.
  • benchmarks/baselines/local/bundle-size.json: the bench.mjs --record bundle-size payload. Its *-budget targets mirror the budget files.
  • website/tests/smoke.test.ts: the HOME_SUMMARY check rounded summary rows to 15 significant digits, because Math.log/exp can differ by one ULP between libc builds. It compared the bundle-size ceilings (added in feat(bench): show bundle-size as a range up to the whole client runtime #1738) exactly, and CI's Linux runner produced a Solid ceiling of …3076 where macOS gives …3075. The ceilings now go through the same rounding.
  • benchmarks/baselines/ratios.json: the 18 guards above.
  • website/src/content/home-benchmark.ts: the bundle-size row and ceilings, recomputed with createHomeSummary(FRAMEWORK_CARDS). No other summary row changes.
  • website/src/content/benchmarks.ts: the card copy now names the minifier instead of "normalized minification".
  • benchmarks/README.md, benchmarks/baselines/website-refresh.md: the minifier statements, plus a dated note that the bundle-size record now comes from main at 91079dde42 (fix(octane): handle hydration mismatches like React 19 (boundary/root client-render fallback) #1784), not the 0.8.0 release source.

Left as they are:

  • The timing suites' minify: 'esbuild'.
  • audit-local-void-roots.mjs, which reproduces a frozen 2026-09-19 report.
  • Historical plan docs under docs/.

Coordination with #1784

#1784 merged on 2026-10-06 and this branch now contains it. Its Svelte 5-style hydrating flag is exactly the case this PR exists for:

Because the budgets move by the measured esbuild→Oxc difference, those Oxc-only savings are banked here. #1784's run-hydration-free.mjs gate already builds with Vite's default minifier, so it and these budgets now measure the same thing.

Validation

Risk / follow-ups

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
Changes benchmark methodology, baselines, and CI byte gates only; no production runtime or application shipping path is modified.

Overview
Bundle-size and reachability benchmarks now build Vite fixtures with minify: 'oxc' (Vite 8’s default) instead of forcing minify: 'esbuild', so shipped-byte gates reflect what typical Vite apps actually minify with—including Rolldown’s DCE that esbuild-only mode skips.

Harness updates: run.mjs and run-minimal.mjs set Oxc for Vite builds (esbuild reachability scenarios still use minify: true); docs and site copy describe the new ruler. Committed baselines, Octane byte budgets, and 18 cross-framework ratio ceilings are re-cut to the new measurements (budgets shifted down where Oxc is smaller, ratios adjusted with notes—especially vs Svelte, whose framework chunks shrink more under Oxc). A small reachability regex accepts Oxc’s backtick in padStart(4, \0`)`, and website smoke tests round chart ceilings like summary rows for cross-platform float noise.

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

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]>
@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 and others added 3 commits October 5, 2026 21:42
…inifier

# Conflicts:
#	benchmarks/bundle-size/app-budgets.json
#	benchmarks/bundle-size/jsx-budgets.json
#	benchmarks/bundle-size/minimal-budgets.json
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]>
…inifier

# Conflicts:
#	benchmarks/bundle-size/app-budgets.json
#	benchmarks/bundle-size/jsx-budgets.json
#	benchmarks/bundle-size/minimal-budgets.json
@trueadm
trueadm marked this pull request as ready for review October 5, 2026 20:49
@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Benchmark report

  • 🔴 bundle-reachability: 1 value(s) increased within budget

Compares 1de873c3a, the merge commit's first parent with 29ca9c093 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 3.542 3.517 ±0.0% −3.0% … +9.4% ⚪ within noise
octane-tsrx replace 7.767 6.667 −3.4% −5.9% … +0.0% ⚪ within noise
octane-tsrx add 2.917 3.458 ±0.0% −1.7% … +3.4% ⚪ within noise
octane-tsrx update 0.147 0.169 +5.2% ±0.0% … +22.7% ⚪ within noise
octane-tsrx select 0.010 0.009 −0.7% −15.2% … +13.7% ⚪ within noise
octane-tsrx swap 0.071 0.071 −3.3% −7.9% … +0.0% ⚪ within noise
octane-tsrx remove 0.028 0.033 +2.8% −3.8% … +12.2% ⚪ within noise
octane-tsrx runlots 47.975 37.133 −1.9% −39.6% … +4.1% ⚪ within noise
octane-tsrx select_lots 0.008 0.009 +0.3% −4.6% … +16.4% ⚪ within noise
octane-tsrx clear 42.450 41.050 −2.2% −7.0% … +2.6% ⚪ within noise
octane-jsx run 4.375 4.842 +2.1% −2.4% … +7.1% ⚪ within noise
octane-jsx replace 9.033 8.717 −1.8% −8.8% … +2.6% ⚪ within noise
octane-jsx add 3.875 3.883 +0.0% −2.3% … +5.1% ⚪ within noise
octane-jsx update 0.324 0.330 −3.0% −4.9% … +2.6% ⚪ within noise
octane-jsx select 0.154 0.161 +2.2% −0.7% … +5.3% ⚪ within noise
octane-jsx swap 0.258 0.265 +3.0% +0.8% … +5.4% ⚪ within noise
octane-jsx remove 0.193 0.195 +0.7% −1.9% … +2.0% ⚪ within noise
octane-jsx runlots 35.633 37.192 +0.8% −1.5% … +3.3% ⚪ within noise
octane-jsx select_lots 1.950 2.137 +1.1% −4.6% … +3.6% ⚪ within noise
octane-jsx clear 49.842 54.167 +5.2% −13.6% … +10.5% ⚪ within noise

All 64 work counters are unchanged.

Application bundle size (bytes)

target metric base head Δ
octane-tsrx js_raw 119,526 111,282 −8,244 (−6.9%) 🟢
octane-tsrx js_gzip 39,597 36,232 −3,365 (−8.5%) 🟢
octane-tsrx js_brotli 34,989 32,156 −2,833 (−8.1%) 🟢
octane-tsrx app_raw 7,135 6,946 −189 (−2.6%) 🟢
octane-tsrx app_gzip 2,435 2,335 −100 (−4.1%) 🟢
octane-tsrx app_brotli 2,120 2,033 −87 (−4.1%) 🟢
octane-tsrx fw_raw 112,391 104,336 −8,055 (−7.2%) 🟢
octane-tsrx fw_gzip 37,162 33,897 −3,265 (−8.8%) 🟢
octane-tsrx fw_brotli 32,869 30,123 −2,746 (−8.4%) 🟢
octane-tsrx todo_js_raw 129,192 119,642 −9,550 (−7.4%) 🟢
octane-tsrx todo_js_gzip 42,859 39,033 −3,826 (−8.9%) 🟢
octane-tsrx todo_js_brotli 37,738 34,317 −3,421 (−9.1%) 🟢
octane-tsrx todo_app_raw 4,811 4,618 −193 (−4.0%) 🟢
octane-tsrx todo_app_gzip 2,332 2,219 −113 (−4.8%) 🟢
octane-tsrx todo_app_brotli 1,997 1,880 −117 (−5.9%) 🟢
octane-tsrx todo_fw_raw 124,381 115,024 −9,357 (−7.5%) 🟢
octane-tsrx todo_fw_gzip 40,527 36,814 −3,713 (−9.2%) 🟢
octane-tsrx todo_fw_brotli 35,741 32,437 −3,304 (−9.2%) 🟢
octane-tsrx chat_js_raw 127,856 118,425 −9,431 (−7.4%) 🟢
octane-tsrx chat_js_gzip 42,653 38,850 −3,803 (−8.9%) 🟢
octane-tsrx chat_js_brotli 37,615 34,328 −3,287 (−8.7%) 🟢
octane-tsrx chat_app_raw 5,990 5,765 −225 (−3.8%) 🟢
octane-tsrx chat_app_gzip 2,770 2,714 −56 (−2.0%) 🟢
octane-tsrx chat_app_brotli 2,460 2,391 −69 (−2.8%) 🟢
octane-tsrx chat_fw_raw 121,866 112,660 −9,206 (−7.6%) 🟢
octane-tsrx chat_fw_gzip 39,883 36,136 −3,747 (−9.4%) 🟢
octane-tsrx chat_fw_brotli 35,155 31,937 −3,218 (−9.2%) 🟢
octane-tsrx weather_js_raw 166,482 154,747 −11,735 (−7.0%) 🟢
octane-tsrx weather_js_gzip 54,955 50,131 −4,824 (−8.8%) 🟢
octane-tsrx weather_js_brotli 48,005 43,730 −4,275 (−8.9%) 🟢
octane-tsrx weather_app_raw 22,738 22,151 −587 (−2.6%) 🟢
octane-tsrx weather_app_gzip 8,109 7,869 −240 (−3.0%) 🟢
octane-tsrx weather_app_brotli 6,906 6,655 −251 (−3.6%) 🟢
octane-tsrx weather_fw_raw 143,744 132,596 −11,148 (−7.8%) 🟢
octane-tsrx weather_fw_gzip 46,846 42,262 −4,584 (−9.8%) 🟢
octane-tsrx weather_fw_brotli 41,099 37,075 −4,024 (−9.8%) 🟢
octane-tsrx bindings_js_raw 714,016 684,384 −29,632 (−4.2%) 🟢
octane-tsrx bindings_js_gzip 239,233 223,385 −15,848 (−6.6%) 🟢
octane-tsrx bindings_js_brotli 203,802 189,802 −14,000 (−6.9%) 🟢
octane-tsrx bindings_app_raw 354,810 347,619 −7,191 (−2.0%) 🟢
octane-tsrx bindings_app_gzip 121,383 115,564 −5,819 (−4.8%) 🟢
octane-tsrx bindings_app_brotli 101,543 96,110 −5,433 (−5.4%) 🟢
octane-tsrx bindings_fw_raw 359,206 336,765 −22,441 (−6.2%) 🟢
octane-tsrx bindings_fw_gzip 117,850 107,821 −10,029 (−8.5%) 🟢
octane-tsrx bindings_fw_brotli 102,259 93,692 −8,567 (−8.4%) 🟢
octane-tsrx full_fw_raw 574,578 562,205 −12,373 (−2.2%) 🟢
octane-tsrx full_fw_gzip 176,670 168,860 −7,810 (−4.4%) 🟢
octane-tsrx full_fw_brotli 149,038 142,182 −6,856 (−4.6%) 🟢
octane-jsx js_raw 226,648 208,487 −18,161 (−8.0%) 🟢
octane-jsx js_gzip 72,546 65,298 −7,248 (−10.0%) 🟢
octane-jsx js_brotli 62,932 56,760 −6,172 (−9.8%) 🟢
octane-jsx app_raw 8,459 8,265 −194 (−2.3%) 🟢
octane-jsx app_gzip 2,935 2,857 −78 (−2.7%) 🟢
octane-jsx app_brotli 2,499 2,410 −89 (−3.6%) 🟢
octane-jsx fw_raw 218,189 200,222 −17,967 (−8.2%) 🟢
octane-jsx fw_gzip 69,611 62,441 −7,170 (−10.3%) 🟢
octane-jsx fw_brotli 60,433 54,350 −6,083 (−10.1%) 🟢
octane-jsx full_fw_raw 574,578 562,205 −12,373 (−2.2%) 🟢
octane-jsx full_fw_gzip 176,670 168,860 −7,810 (−4.4%) 🟢
octane-jsx full_fw_brotli 149,038 142,182 −6,856 (−4.6%) 🟢

0 other measured values are unchanged.

Public-import reachability bundles (bytes)

target metric base head Δ
capture-only raw 11,436 11,203 −233 (−2.0%) 🟢
capture-only gzip 4,394 4,264 −130 (−3.0%) 🟢
capture-only brotli 3,927 3,802 −125 (−3.2%) 🟢
cli-spa-starter raw 108,275 100,429 −7,846 (−7.2%) 🟢
cli-spa-starter gzip 36,698 33,415 −3,283 (−8.9%) 🟢
cli-spa-starter brotli 32,150 29,351 −2,799 (−8.7%) 🟢
root-static-specialized raw 76,875 72,273 −4,602 (−6.0%) 🟢
root-static-specialized gzip 25,636 23,672 −1,964 (−7.7%) 🟢
root-static-specialized brotli 22,888 21,143 −1,745 (−7.6%) 🟢
root-chained-jsx raw 78,919 74,230 −4,689 (−5.9%) 🟢
root-chained-jsx gzip 26,177 24,202 −1,975 (−7.5%) 🟢
root-chained-jsx brotli 23,345 21,667 −1,678 (−7.2%) 🟢
root-static raw 202,872 186,592 −16,280 (−8.0%) 🟢
root-static gzip 64,725 58,190 −6,535 (−10.1%) 🟢
root-static brotli 56,217 50,554 −5,663 (−10.1%) 🟢
root-static-local raw 76,878 72,272 −4,606 (−6.0%) 🟢
root-static-local gzip 25,621 23,653 −1,968 (−7.7%) 🟢
root-static-local brotli 22,906 21,141 −1,765 (−7.7%) 🟢
hooks-state raw 88,948 84,022 −4,926 (−5.5%) 🟢
hooks-state gzip 29,639 27,623 −2,016 (−6.8%) 🟢
hooks-state brotli 26,374 24,568 −1,806 (−6.8%) 🟢
prop-attributes raw 89,456 84,276 −5,180 (−5.8%) 🟢
prop-attributes gzip 29,708 27,628 −2,080 (−7.0%) 🟢
prop-attributes brotli 26,422 24,613 −1,809 (−6.8%) 🟢
context raw 103,291 96,220 −7,071 (−6.8%) 🟢
context gzip 34,315 31,321 −2,994 (−8.7%) 🟢
context brotli 30,452 27,787 −2,665 (−8.8%) 🟢
hydrate-root raw 172,309 166,814 −5,495 (−3.2%) 🟢
hydrate-root gzip 55,178 52,615 −2,563 (−4.6%) 🟢
hydrate-root brotli 48,072 45,718 −2,354 (−4.9%) 🟢
deferred-hydration raw 237,508 230,816 −6,692 (−2.8%) 🟢
deferred-hydration gzip 75,733 72,282 −3,451 (−4.6%) 🟢
deferred-hydration brotli 65,190 62,191 −2,999 (−4.6%) 🟢
suspense-transition raw 160,064 141,698 −18,366 (−11.5%) 🟢
suspense-transition gzip 51,451 44,576 −6,875 (−13.4%) 🟢
suspense-transition brotli 45,114 39,181 −5,933 (−13.2%) 🟢
server-hooks raw 477 472 −5 (−1.0%) 🟢
server-hooks gzip 329 324 −5 (−1.5%) 🟢
server-hooks brotli 256 258 +2 (+0.8%) 🔴
server-render raw 65,499 64,032 −1,467 (−2.2%) 🟢
server-render gzip 22,597 22,031 −566 (−2.5%) 🟢
server-render brotli 20,337 19,943 −394 (−1.9%) 🟢
component-owned-effects raw 81,389 76,664 −4,725 (−5.8%) 🟢
component-owned-effects gzip 26,934 24,994 −1,940 (−7.2%) 🟢
component-owned-effects brotli 24,066 22,356 −1,710 (−7.1%) 🟢
binding-vanilla raw 648 617 −31 (−4.8%) 🟢
binding-vanilla gzip 424 405 −19 (−4.5%) 🟢
binding-vanilla brotli 362 340 −22 (−6.1%) 🟢
binding-hooks raw 87,468 82,521 −4,947 (−5.7%) 🟢
binding-hooks gzip 29,360 27,278 −2,082 (−7.1%) 🟢
binding-hooks brotli 26,175 24,299 −1,876 (−7.2%) 🟢
behavior-root-vite raw 13,667 13,466 −201 (−1.5%) 🟢
behavior-root-vite gzip 4,540 4,437 −103 (−2.3%) 🟢
behavior-root-vite brotli 4,090 4,006 −84 (−2.1%) 🟢
binding-base-ui-vite raw 212,937 195,362 −17,575 (−8.3%) 🟢
binding-base-ui-vite gzip 68,262 61,342 −6,920 (−10.1%) 🟢
binding-base-ui-vite brotli 59,315 53,347 −5,968 (−10.1%) 🟢
binding-aria-vite raw 7,931 7,391 −540 (−6.8%) 🟢
binding-aria-vite gzip 3,056 2,886 −170 (−5.6%) 🟢
binding-aria-vite brotli 2,724 2,541 −183 (−6.7%) 🟢
binding-motion-vite raw 63,949 61,468 −2,481 (−3.9%) 🟢
binding-motion-vite gzip 22,919 21,450 −1,469 (−6.4%) 🟢
binding-motion-vite brotli 20,825 19,599 −1,226 (−5.9%) 🟢
binding-radix-vite raw 214,853 197,443 −17,410 (−8.1%) 🟢
binding-radix-vite gzip 68,805 61,958 −6,847 (−10.0%) 🟢
binding-radix-vite brotli 59,739 53,875 −5,864 (−9.8%) 🟢
binding-floating-ui-vite raw 11,063 10,694 −369 (−3.3%) 🟢
binding-floating-ui-vite gzip 4,452 4,298 −154 (−3.5%) 🟢
binding-floating-ui-vite brotli 3,993 3,860 −133 (−3.3%) 🟢
binding-mantine-hooks-vite raw 90,768 86,079 −4,689 (−5.2%) 🟢
binding-mantine-hooks-vite gzip 30,195 28,245 −1,950 (−6.5%) 🟢
binding-mantine-hooks-vite brotli 26,850 25,115 −1,735 (−6.5%) 🟢
binding-apollo-client-vite raw 358,146 337,853 −20,293 (−5.7%) 🟢
binding-apollo-client-vite gzip 112,372 103,666 −8,706 (−7.7%) 🟢
binding-apollo-client-vite brotli 98,157 90,581 −7,576 (−7.7%) 🟢
binding-usehooks-ts-vite raw 91,549 86,845 −4,704 (−5.1%) 🟢
binding-usehooks-ts-vite gzip 30,427 28,464 −1,963 (−6.5%) 🟢
binding-usehooks-ts-vite brotli 27,142 25,343 −1,799 (−6.6%) 🟢

27 other measured values are unchanged.

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]>
@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 6, 2026 5:15am UTC
octane-website-mcp Skipped Skipped Oct 6, 2026 5:15am UTC

Request Review

@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp October 5, 2026 21:12 Inactive
trueadm and others added 7 commits October 5, 2026 22:12
…inifier

# Conflicts:
#	benchmarks/bundle-size/app-budgets.json
#	benchmarks/bundle-size/minimal-budgets.json
…#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]>
#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]>
…inifier

# Conflicts:
#	benchmarks/bundle-size/app-budgets.json
#	benchmarks/bundle-size/jsx-budgets.json
#	benchmarks/bundle-size/minimal-budgets.json
…inifier

# Conflicts:
#	benchmarks/bundle-size/minimal-budgets.json
…inifier

# Conflicts:
#	benchmarks/bundle-size/minimal-budgets.json
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp October 6, 2026 05:15 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website October 6, 2026 05:15 Inactive
trueadm and others added 3 commits October 6, 2026 12:19
…inifier

# Conflicts:
#	benchmarks/bundle-size/app-budgets.json
#	benchmarks/bundle-size/jsx-budgets.json
#	benchmarks/bundle-size/minimal-budgets.json
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]>
@trueadm
trueadm merged commit e62f642 into main Oct 6, 2026
28 of 29 checks passed
@trueadm
trueadm deleted the ci/bundle-size-vite-minifier branch October 6, 2026 11:36
trueadm added a commit that referenced this pull request Oct 6, 2026
… overage (#1811)

- deferred-hydration (raw 230,846 -> 230,980, gzip 72,314 -> 72,387): #1803
  routes hydration's boundary operations through a table that tryBlock
  installs, so hydrating bundles without Suspense drop about 8.6 kB gzip.
  A hydrating bundle that renders a boundary pays for the indirection.
- todo framework/total raw (+43 each): main already measures 115,067 raw
  against a 115,056 budget. #1808, merged after #1792 re-derived the budgets
  under oxc, adds a few bytes to input-handling paths. #1803 does not change
  todo; the framework gzip is identical with either runtime.

Values are measured + 32.

Co-authored-by: Claude Opus 5.5 <[email protected]>
trueadm added a commit that referenced this pull request Oct 6, 2026
Resolve the budget conflicts against main after #1792 re-cut every
budget for Vite's oxc minifier: take main's budgets and lower the values
this branch now measures below them (min(main, measured + headroom));
none is raised.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
trueadm added a commit that referenced this pull request Oct 6, 2026
Conflicts:
- pnpm-lock.yaml: keep this branch's TSRX versions under main's
  @types/node 24.13.3 peer context. `pnpm install --lockfile-only`
  (pnpm 12.9.1) leaves the result unchanged.
- 87 react-parity manifests: lockfileSha256 regenerated for the merged
  lockfile (react-parity:lockfiles:generate).
- website BenchBars.tsrx and BenchmarkExplorer.tsrx: this branch only
  reformatted them, so take main's #1738 version and reformat it.
- user-apps-v1 manifest.jsonl: regenerated by pnpm sync.
- minimal-budgets.json: main re-baselined suspense-transition and
  binding-apollo-client-vite under the Oxc minifier (#1792), so this
  branch's earlier raises for the reformat are dropped.

Reformat the 16 .tsrx files main added or changed in the old layout.
Their client and server output is unchanged once position-derived ids
are masked, and all 51 .tsrx files main touched compile in both modes.

The reformat moves position-derived ids, which makes some bundles a few
bytes smaller than main's budgets allow under the ratchet, so tighten
them: context gzip -2, suspense-transition gzip -1, apollo esbuild
brotli -99, bindings total raw -12. The bindings app and total gzip are
set 27 bytes over the local measurement rather than 32, because CI has
measured that app's gzip 5 bytes below local.

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