Skip to content

Commit d13b6fa

Browse files
ryansolidclaudecursoragent
committed
chore(size): ratchet CSR app and frames eager consumer for #3671
CSR app 15.99 -> 16.04 KB: measured 16,025 B against next's 15,967 (+58 B, 35 B over). Brotli layout drift — the scenario never imports dynamic(), the minified bundle is 45,297 B on both sides and differs only in esbuild's short-name assignment. Frames eager consumer 12.40 -> 12.42 KB: measured 12,410 B against next's 12,367 (+43 B, 10 B over). +98 B minified in the frames client's fallback _$SC bootstrap, which now mints address-bound COMPONENT_BINDING bindings. Co-authored-by: Claude <[email protected]> Agent: Claude via Cursor Co-authored-by: Cursor <[email protected]>
1 parent 1d8cce0 commit d13b6fa

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

‎scripts/size/.size-limit.js‎

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1874,7 +1874,15 @@ module.exports = [
18741874
// A lane frame is the run's (#3662, 2026-09-26): 15.92 -> 15.99 KB,
18751875
// measured at 15,967 B against `next`'s 15,866 (+101 B). Core-retained ripple of the
18761876
// lane-frame sites — see the core floor note.
1877-
limit: "15.99 KB",
1877+
// Async dynamic() serializes and adopts (#3671, 2026-09-26): 15.99 ->
1878+
// 16.04 KB, measured at 16,025 B against `next`'s 15,967 (+58 B; 35 B
1879+
// over the cap). Brotli layout drift, not retained bytes: this scenario
1880+
// never imports `dynamic` (no `dynamic-flight` / `component-binding`
1881+
// text in the bundle), the minified bundle is 45,297 B on both sides,
1882+
// and the diff is which short name esbuild assigns where — web.js's
1883+
// `dynamic` grew, so the module-level name order shifted under it. The
1884+
// same noise as the 09-22 note above.
1885+
limit: "16.04 KB",
18781886
modifyEsbuildConfig
18791887
},
18801888
{
@@ -2524,8 +2532,18 @@ module.exports = [
25242532
// never calls `live` still carries the ledger and the resume path —
25252533
// they hang off `FrameImpl` and the handler, not the loop. Candidate
25262534
// for a later split behind the wire slot like the reader was.
2535+
//
2536+
// Async dynamic() serializes and adopts (#3671, 2026-09-26): 12.40 ->
2537+
// 12.42 KB, measured at 12,410 B against `next`'s 12,367 (+43 B; 10 B
2538+
// over the cap). +98 B minified, all in the frames client's fallback
2539+
// `_$SC` bootstrap: an addressed reference `r(id, address)` now returns
2540+
// the call's COMPONENT_BINDING-branded binding (the `b` cache and the
2541+
// `Object.assign` brand) instead of the bare component, so a landing the
2542+
// hydration record carries passes `sameInstance` against the binding a
2543+
// later live run mints and a mount from it carries the address. The
2544+
// document's own bootstrap (frame-sink) carries the same text server-side.
25272545
path: "../../packages/web/frames/dist/client.js",
2528-
limit: "12.40 KB",
2546+
limit: "12.42 KB",
25292547
modifyEsbuildConfig: framesEsbuildConfig
25302548
}
25312549
];

0 commit comments

Comments
 (0)