Skip to content

Commit 8ce997c

Browse files
size: rebase the Rolldown caps onto next @ ee49b3e
Three signals fixes landed since the switch was measured at cad2ce7 (#3678 F3/F5, #3684 F6, #3682 F1); the esbuild ledger notes for them are carried into scenarios.js and every cap is re-measured with Rolldown on the current artifacts, rounded up to the next 0.01 kB: core floor 9506 -> 9508 (9.51 KB, unchanged) + createStore 16504 -> 16584 (16.59 KB) + isPending 12119 -> 12154 (12.16 KB) render + signal 12039 -> 12047 (12.05 KB) hydrating 19606 -> 19623 (19.63 KB) hydrating+stores 30354 -> 30480 (30.48 KB) CSR 14871 -> 14909 (14.91 KB) observe tier 16294 -> 16336 (16.34 KB) observe + attr 30471 -> 30453 (30.46 KB) frames 11768 -> 11768 (11.77 KB, unchanged) page: base 44635 -> 44726 (44.73 KB) page: live 48802 -> 48976 (48.98 KB) All five frozen caps still go down against next's esbuild values, so check-floor-caps passes without an exception. Co-authored-by: Cursor <[email protected]>
1 parent 83aca2f commit 8ce997c

3 files changed

Lines changed: 57 additions & 14 deletions

File tree

‎documentation/plans/size-reduction-audit.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ density audit, comes next.
1919
**Harness switched to Rolldown (2026-09-26, later that night).** Every number in this document
2020
is an esbuild number (size-limit's bundler). The harness now bundles with Rolldown — what Vite
2121
ships — and every cap was re-based; Rolldown lands 4–9% lower on the same artifacts (floor
22-
9,922 → 9,506; base SC page 46,852 → 44,635; live 51,156 → 48,802). Deltas in the tables here
22+
9,922 → 9,506; base SC page 46,852 → 44,635; live 51,156 → 48,802 at `next` @ cad2ce724; rebased onto ee49b3eee: 9,508 / 44,726 / 48,976). Deltas in the tables here
2323
stay valid as deltas; absolute targets should be read against the Rolldown caps in
2424
`scripts/size/floor-caps.json`.
2525

‎scripts/size/floor-caps.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"signals: core floor (createSignal/Memo/Effect/Root/flush)": "9.51 KB",
3-
"app: render + one signal (the simple-app floor)": "12.04 KB",
4-
"app: hydrating (no stores) with Show/For/Loading/Errored/lazy": "19.61 KB",
5-
"page: base server components (hydrating + dynamic + frames + sf reference)": "44.64 KB",
6-
"page: live server components (base + live/GET + action + isPending/latest)": "48.81 KB"
3+
"app: render + one signal (the simple-app floor)": "12.05 KB",
4+
"app: hydrating (no stores) with Show/For/Loading/Errored/lazy": "19.63 KB",
5+
"page: base server components (hydrating + dynamic + frames + sf reference)": "44.73 KB",
6+
"page: live server components (base + live/GET + action + isPending/latest)": "48.98 KB"
77
}

‎scripts/size/scenarios.js‎

Lines changed: 52 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,10 @@ module.exports = [
422422
// Bundler switch, esbuild -> Rolldown 1.2.11 (2026-09-26): 9922 -> 9506 B
423423
// on the same artifacts (next @ cad2ce724); cap re-based to 9.51 KB, measured
424424
// rounded up to the next 0.01 kB. Deltas across this line are not comparable.
425+
// Rebased onto `next` @ ee49b3eee (2026-09-28): 9506 -> 9508 B (+2 B) — the
426+
// three signals fixes that landed since the switch was measured (#3678 F3/F5,
427+
// #3684 F6, #3682 F1; the esbuild notes above record them), now Rolldown-measured;
428+
// cap 9.51 KB, measured rounded up to the next 0.01 kB.
425429
limit: floorCaps["signals: core floor (createSignal/Memo/Effect/Root/flush)"],
426430
alias
427431
},
@@ -789,7 +793,11 @@ module.exports = [
789793
// Bundler switch, esbuild -> Rolldown 1.2.11 (2026-09-26): 17260 -> 16504 B
790794
// on the same artifacts (next @ cad2ce724); cap re-based to 16.51 KB, measured
791795
// rounded up to the next 0.01 kB. Deltas across this line are not comparable.
792-
limit: "16.51 KB",
796+
// Rebased onto `next` @ ee49b3eee (2026-09-28): 16504 -> 16584 B (+80 B) — the
797+
// three signals fixes that landed since the switch was measured (#3678 F3/F5,
798+
// #3684 F6, #3682 F1; the esbuild notes above record them), now Rolldown-measured;
799+
// cap 16.59 KB, measured rounded up to the next 0.01 kB.
800+
limit: "16.59 KB",
793801
alias
794802
},
795803
{
@@ -991,7 +999,11 @@ module.exports = [
991999
// Bundler switch, esbuild -> Rolldown 1.2.11 (2026-09-26): 12673 -> 12119 B
9921000
// on the same artifacts (next @ cad2ce724); cap re-based to 12.12 KB, measured
9931001
// rounded up to the next 0.01 kB. Deltas across this line are not comparable.
994-
limit: "12.12 KB",
1002+
// Rebased onto `next` @ ee49b3eee (2026-09-28): 12119 -> 12154 B (+35 B) — the
1003+
// three signals fixes that landed since the switch was measured (#3678 F3/F5,
1004+
// #3684 F6, #3682 F1; the esbuild notes above record them), now Rolldown-measured;
1005+
// cap 12.16 KB, measured rounded up to the next 0.01 kB.
1006+
limit: "12.16 KB",
9951007
alias
9961008
},
9971009
{
@@ -1151,6 +1163,10 @@ module.exports = [
11511163
// Bundler switch, esbuild -> Rolldown 1.2.11 (2026-09-26): 12744 -> 12039 B
11521164
// on the same artifacts (next @ cad2ce724); cap re-based to 12.04 KB, measured
11531165
// rounded up to the next 0.01 kB. Deltas across this line are not comparable.
1166+
// Rebased onto `next` @ ee49b3eee (2026-09-28): 12039 -> 12047 B (+8 B) — the
1167+
// three signals fixes that landed since the switch was measured (#3678 F3/F5,
1168+
// #3684 F6, #3682 F1; the esbuild notes above record them), now Rolldown-measured;
1169+
// cap 12.05 KB, measured rounded up to the next 0.01 kB.
11541170
limit: floorCaps["app: render + one signal (the simple-app floor)"],
11551171
alias
11561172
},
@@ -1426,6 +1442,10 @@ module.exports = [
14261442
// Bundler switch, esbuild -> Rolldown 1.2.11 (2026-09-26): 21416 -> 19606 B
14271443
// on the same artifacts (next @ cad2ce724); cap re-based to 19.61 KB, measured
14281444
// rounded up to the next 0.01 kB. Deltas across this line are not comparable.
1445+
// Rebased onto `next` @ ee49b3eee (2026-09-28): 19606 -> 19623 B (+17 B) — the
1446+
// three signals fixes that landed since the switch was measured (#3678 F3/F5,
1447+
// #3684 F6, #3682 F1; the esbuild notes above record them), now Rolldown-measured;
1448+
// cap 19.63 KB, measured rounded up to the next 0.01 kB.
14291449
limit: floorCaps["app: hydrating (no stores) with Show/For/Loading/Errored/lazy"],
14301450
alias
14311451
},
@@ -1780,16 +1800,17 @@ module.exports = [
17801800
// `mapArray`'s per-PASS pick — one `_laneSlots` mark per map,
17811801
// `_landOnOverride` while a lane is live, `setSignal` otherwise. Core
17821802
// floor 0 B.
1783-
// Bundler switch, esbuild -> Rolldown 1.2.11 (2026-09-26): 31786 -> 30213 B
1784-
// on the same artifacts (next @ cad2ce724); cap re-based to 30.22 KB, measured
1785-
// rounded up to the next 0.01 kB. Deltas across this line are not comparable.
17861803
// Bundler switch, esbuild -> Rolldown 1.2.11 (2026-09-26): 31786 -> 30354 B
17871804
// (next @ cad2ce724; the esbuild figure is from artifacts predating #3674,
17881805
// whose store-family cost upstream's 31.87 cap already carried — Linux CI
17891806
// and macOS agree on the Rolldown number to the byte); cap re-based to
17901807
// 30.36 KB, measured rounded up to the next 0.01 kB. Deltas across this
17911808
// line are not comparable.
1792-
limit: "30.36 KB",
1809+
// Rebased onto `next` @ ee49b3eee (2026-09-28): 30354 -> 30480 B (+126 B) — the
1810+
// three signals fixes that landed since the switch was measured (#3678 F3/F5,
1811+
// #3684 F6, #3682 F1; the esbuild notes above record them), now Rolldown-measured;
1812+
// cap 30.48 KB, measured rounded up to the next 0.01 kB.
1813+
limit: "30.48 KB",
17931814
alias
17941815
},
17951816
{
@@ -1988,7 +2009,11 @@ module.exports = [
19882009
// Bundler switch, esbuild -> Rolldown 1.2.11 (2026-09-26): 16025 -> 14871 B
19892010
// on the same artifacts (next @ cad2ce724); cap re-based to 14.88 KB, measured
19902011
// rounded up to the next 0.01 kB. Deltas across this line are not comparable.
1991-
limit: "14.88 KB",
2012+
// Rebased onto `next` @ ee49b3eee (2026-09-28): 14871 -> 14909 B (+38 B) — the
2013+
// three signals fixes that landed since the switch was measured (#3678 F3/F5,
2014+
// #3684 F6, #3682 F1; the esbuild notes above record them), now Rolldown-measured;
2015+
// cap 14.91 KB, measured rounded up to the next 0.01 kB.
2016+
limit: "14.91 KB",
19922017
alias
19932018
},
19942019
{
@@ -2221,7 +2246,11 @@ module.exports = [
22212246
// Bundler switch, esbuild -> Rolldown 1.2.11 (2026-09-26): 17822 -> 16294 B
22222247
// on the same artifacts (next @ cad2ce724); cap re-based to 16.30 KB, measured
22232248
// rounded up to the next 0.01 kB. Deltas across this line are not comparable.
2224-
limit: "16.30 KB",
2249+
// Rebased onto `next` @ ee49b3eee (2026-09-28): 16294 -> 16336 B (+42 B) — the
2250+
// three signals fixes that landed since the switch was measured (#3678 F3/F5,
2251+
// #3684 F6, #3682 F1; the esbuild notes above record them), now Rolldown-measured;
2252+
// cap 16.34 KB, measured rounded up to the next 0.01 kB.
2253+
limit: "16.34 KB",
22252254
alias: observeAlias
22262255
},
22272256
{
@@ -2556,7 +2585,11 @@ module.exports = [
25562585
// Bundler switch, esbuild -> Rolldown 1.2.11 (2026-09-26): 31943 -> 30471 B
25572586
// on the same artifacts (next @ cad2ce724); cap re-based to 30.48 KB, measured
25582587
// rounded up to the next 0.01 kB. Deltas across this line are not comparable.
2559-
limit: "30.48 KB",
2588+
// Rebased onto `next` @ ee49b3eee (2026-09-28): 30471 -> 30453 B (-18 B) — the
2589+
// three signals fixes that landed since the switch was measured (#3678 F3/F5,
2590+
// #3684 F6, #3682 F1; the esbuild notes above record them), now Rolldown-measured;
2591+
// cap 30.46 KB, measured rounded up to the next 0.01 kB.
2592+
limit: "30.46 KB",
25602593
alias: observeAlias
25612594
},
25622595
{
@@ -2674,6 +2707,8 @@ module.exports = [
26742707
// Bundler switch, esbuild -> Rolldown 1.2.11 (2026-09-26): 12410 -> 11768 B
26752708
// on the same artifacts (next @ cad2ce724); cap re-based to 11.77 KB, measured
26762709
// rounded up to the next 0.01 kB. Deltas across this line are not comparable.
2710+
// Rebased onto `next` @ ee49b3eee (2026-09-28): 11768 -> 11768 B, unchanged
2711+
// by the three signals fixes that landed since (#3678, #3684, #3682); cap stays.
26772712
limit: "11.77 KB",
26782713
alias: framesAlias,
26792714
external: framesExternal
@@ -2714,6 +2749,10 @@ module.exports = [
27142749
// Bundler switch, esbuild -> Rolldown 1.2.11 (2026-09-26): 46852 -> 44635 B
27152750
// on the same artifacts (next @ cad2ce724); cap re-based to 44.64 KB, measured
27162751
// rounded up to the next 0.01 kB. Deltas across this line are not comparable.
2752+
// Rebased onto `next` @ ee49b3eee (2026-09-28): 44635 -> 44726 B (+91 B) — the
2753+
// three signals fixes that landed since the switch was measured (#3678 F3/F5,
2754+
// #3684 F6, #3682 F1; the esbuild notes above record them), now Rolldown-measured;
2755+
// cap 44.73 KB, measured rounded up to the next 0.01 kB.
27172756
limit: floorCaps["page: base server components (hydrating + dynamic + frames + sf reference)"],
27182757
alias: pageAlias
27192758
},
@@ -2740,6 +2779,10 @@ module.exports = [
27402779
// Bundler switch, esbuild -> Rolldown 1.2.11 (2026-09-26): 51156 -> 48802 B
27412780
// on the same artifacts (next @ cad2ce724); cap re-based to 48.81 KB, measured
27422781
// rounded up to the next 0.01 kB. Deltas across this line are not comparable.
2782+
// Rebased onto `next` @ ee49b3eee (2026-09-28): 48802 -> 48976 B (+174 B) — the
2783+
// three signals fixes that landed since the switch was measured (#3678 F3/F5,
2784+
// #3684 F6, #3682 F1; the esbuild notes above record them), now Rolldown-measured;
2785+
// cap 48.98 KB, measured rounded up to the next 0.01 kB.
27432786
limit: floorCaps["page: live server components (base + live/GET + action + isPending/latest)"],
27442787
alias: pageAlias
27452788
}

0 commit comments

Comments
 (0)