Skip to content

Commit 4f7f415

Browse files
ryansolidclaudecursoragent
committed
size: Size-Exceptions for #3759 on L2 — frames 13.00 -> 13.78 KB, page base 44.05 -> 44.78, page live 47.67 -> 48.45
Refetched content lands at the transition's commit (the staging, the content token, the two halves of the mount's follow effect, the staged data tables, and on L2 the switch's rebind in the effect half with the frameless host waiter). Measured against `next` @ bde4299 (after #3790/#3791): frames 12,997 -> 13,770 B (+773; +2,262 B minified, frames client +2,255), page base 44,048 -> 44,762 B (+714; +2,265 B minified), page live 47,670 -> 48,436 B (+766; +2,265 B minified). Caps set at head + 10 B. Ledger notes in scenarios.js re-applied from the PR's 1b347c7 against these numbers, after #3743's page-base note. Size-Exception: frames: eager client consumer 12,997 -> 13,770 B (cap 13.00 -> 13.78 KB); page: base server components 44,048 -> 44,762 B (cap 44.05 -> 44.78 KB); page: live server components 47,670 -> 48,436 B (cap 47.67 -> 48.45 KB) — #3759's staging so refetched content lands at the transition's commit; accepted by the maintainer (2026-10-04). Co-authored-by: Claude <[email protected]> Co-authored-by: Cursor <[email protected]>
1 parent ba88b34 commit 4f7f415

2 files changed

Lines changed: 47 additions & 3 deletions

File tree

‎scripts/size/floor-caps.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"signals: core floor (createSignal/Memo/Effect/Root/flush)": "7.33 KB",
33
"app: render + one signal (the simple-app floor)": "9.83 KB",
44
"app: hydrating (no stores) with Show/For/Loading/Errored/lazy": "17.66 KB",
5-
"page: base server components (hydrating + dynamic + frames + sf reference)": "44.05 KB",
6-
"page: live server components (base + live/GET + action + isPending/latest)": "47.67 KB",
5+
"page: base server components (hydrating + dynamic + frames + sf reference)": "44.78 KB",
6+
"page: live server components (base + live/GET + action + isPending/latest)": "48.45 KB",
77
"server: floor (getRequestEvent + isServer)": "1.34 KB",
88
"server: renderToString (the server-render floor)": "20.42 KB"
99
}

‎scripts/size/scenarios.js‎

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3035,7 +3035,34 @@ module.exports = [
30353035
// the live call (`call-driven-lifecycle`). The gate signal takes
30363036
// `ownedWrite`; the bytes are the two `bound` locals and the option.
30373037
// Accepted by the maintainer. The cap is frozen again at 13.00 KB.
3038-
limit: "13.00 KB",
3038+
// Size-Exception (#3759, 2026-10-04): 13.00 ->
3039+
// 13.78 KB, measured at 13,770 B against `next` @ bde429992's 12,997
3040+
// (+773 B; 770 B over the cap; +2,262 B minified, 41,048 -> 43,310:
3041+
// frames client +2,255, sf client slice +7). A refetch or single-flight
3042+
// region for a call a mount is showing is staged instead of written, so
3043+
// it lands in the commit of the transaction that read it: the handler's
3044+
// staged entries (chunks, deferred `onStream`, a content token per
3045+
// version, single-flight regions routed by root), the staged data tables
3046+
// (`stageTables`), and the two halves of the mount's follow effect
3047+
// (`followAddress`) — `FrameImpl.preview` pushing the staged slot args
3048+
// into live fills from the compute half (held with the transaction, so
3049+
// optimistic intent never reads the old args: the lane's guesses
3050+
// dissolve at the landing, and an effect-run write would land a flush
3051+
// behind), `stagedContent.commit` replaying the rest from the effect
3052+
// half. On L2 the switch's rebind moves to the effect half too (the
3053+
// switch is display, one reveal — ruling 2026-10-04) and a frameless
3054+
// waiter registered on the host settles the gate on the new address's
3055+
// first write, so a second switch mid-flight still binds. First measured
3056+
// pre-L2 at 13,726 B against `next` @ 9338c00c5's 12,977 (+749; a 12.98
3057+
// -> 13.73 KB raise); the L2 port adds the waiter and shares the follow
3058+
// effect (-21 B minified against the PR; brotli layout +24 B). Dropping
3059+
// either half was weighed and rejected: without the preview the
3060+
// one-flush optimistic gap returns (verified on L2: `false/false` in all
3061+
// three multi-flight specs), without staged tables the shown content
3062+
// reads the new response's refs before the commit. Accepted by the
3063+
// maintainer (2026-10-04). The cap is frozen again at 13.78 KB (head +
3064+
// 10 B).
3065+
limit: "13.78 KB",
30393066
alias: framesAlias,
30403067
external: framesExternal
30413068
},
@@ -3168,6 +3195,8 @@ module.exports = [
31683195
// Twelve equivalent encodings measured; this is the only one over by
31693196
// page base alone. Accepted by the maintainer. The cap is frozen again
31703197
// at 46.25 KB.
3198+
// Lowered (#3774, 2026-10-04): 46.25 -> 44.03 KB (floor-caps.json; the
3199+
// hold model, measured by CI at 22c3d3e14).
31713200
// Size-Exception (#3743, 2026-10-04): 44.03 -> 44.05 KB, measured at
31723201
// 44,031 B against `next` @ 1a3f87fd1's 44,029 (+2 B; 1 B over the cap;
31733202
// -97 B minified). +2 B br / -97 B min — #3743 fold presence diff;
@@ -3177,6 +3206,14 @@ module.exports = [
31773206
// minified, the live page at -5 B. Cap set at measured + 10 B rounded
31783207
// up to 0.01 KB. Accepted by the maintainer (2026-10-04). The cap is
31793208
// frozen again at 44.05 KB.
3209+
// Size-Exception (#3759, 2026-10-04): 44.05 -> 44.78 KB, measured at
3210+
// 44,762 B against `next` @ bde429992's 44,048 (+714 B; 712 B over the
3211+
// cap; +2,265 B minified, frames client +2,055). The frames client's
3212+
// staging and two-phase landing (the frames note); the frames client
3213+
// imports nothing new, so the remaining ~210 B minified across signals,
3214+
// solid, web and the sf client is attribution drift. Accepted by the
3215+
// maintainer (2026-10-04). The cap is frozen again at 44.78 KB (head +
3216+
// 10 B).
31803217
limit: floorCaps["page: base server components (hydrating + dynamic + frames + sf reference)"],
31813218
alias: pageAlias
31823219
},
@@ -3262,6 +3299,13 @@ module.exports = [
32623299
// at 50,346 B against #3713 @ 73640f5cd's 50,150 (a 50.15 -> 50.35 KB
32633300
// raise); the base moved under the PR (the fake-`Promise` cap above).
32643301
// Size vetted by the maintainer. The cap is frozen again at 50.45 KB.
3302+
// Lowered (#3774, 2026-10-04): 50.45 -> 47.67 KB (floor-caps.json; the
3303+
// hold model, measured by CI at 22c3d3e14).
3304+
// Size-Exception (#3759, 2026-10-04): 47.67 -> 48.45 KB, measured at
3305+
// 48,436 B against `next` @ bde429992's 47,670 (+766 B; 766 B over the
3306+
// cap; +2,265 B minified, frames client +2,044). The same staging bytes
3307+
// as the base page. Accepted by the maintainer (2026-10-04). The cap is
3308+
// frozen again at 48.45 KB (head + 10 B).
32653309
limit: floorCaps["page: live server components (base + live/GET + action + isPending/latest)"],
32663310
alias: pageAlias
32673311
},

0 commit comments

Comments
 (0)