Repository navigation
Conversation
#1858's raises were ratcheted back to main in 96c4096 until #1857 is ready. Re-land them, measured on #1857 merged with that main: 61 raises (signal-free apps about +155 raw / +37 gzip, signal-capable bundles up to +312 raw / +115 gzip) and 5 brotli lowerings the change shrinks. Merge immediately before #1857. Co-Authored-By: Claude Opus 5.5 <[email protected]>
6 of 7 tasks
…ration-block-entry-budget-reland # Conflicts: # benchmarks/bundle-size/minimal-budgets.json
6 of 8 tasks
Collaborator
Author
|
Superseded by 31724a3 on main, which re-landed the same budgets (61 raises and 4 brotli lowerings measured on b6c040c). This branch's budget files are identical to main's, so there is nothing left to merge. I checked that main's code passes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This re-lands the budgets for #1857 (in-place Block signal owners). #1858 raised them ahead of that PR. They were ratcheted back to
mainin 96c4096, because the unfilled raises failedmain's own downward ratchet while #1857 stayed open. Merge this immediately before #1857. Between the two merges,mainpushes enforce the ratchet against these values again.It changes only the three budget files. Every value is what
run.mjs --write-budgetsandrun-minimal.mjs --write-budgetsmeasure on #1857 merged withmain96c4096: measured + 32 for raw and gzip, measured + 256 for brotli. With these files, #1857's budget step passes exactly, so it needs no budget change of its own.61 raises:
rows,todo,chat,weather) and most minimal rootsbindings,rows-jsx,root-static,hydrate-frame, Base UI, Radix and Apollo bindings)5 brotli lowerings the change shrinks:
todoframework (−3) and total (−2),root-chained-jsx(−18),root-callback-local(−34) andbinding-base-ui-esbuild(−9).Why the growth is worth it
Measured in #1857 on
app-frame-hydration, which hydrates about 1,650 signal-enabled Blocks. Samples are paired withmainin the same Chromium, 50 pairs, at 4× CPU throttle:frame(leaf signal reads)frame-live-sections(section-level reads)renderBlockentries fall from two to one per render, andrunWithSignalOwnercalls from 1,798 to 95 per hydration. Hydration allocates 161 KB less. Bundles that never enable signals gain no speed, and pay about +155 raw / +37 gzip. #1858 gives the byte breakdown.Validation
--write-budgetson perf(runtime): enter each Block's signal owner in place during render #1857 head 393bf8b, which is merged withmain96c4096.node benchmarks/bundle-size/budget-raises.mjs --base origin/mainreports 61 raises in a budget-only change.pnpm format:check,pnpm typecheck,pnpm test: left to CI. JSON values only, no source change.Provenance
agent-authored)🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Note
Low Risk
JSON-only CI threshold updates with no product code; main risk is merge ordering relative to #1857.
Overview
Re-lands bundle size budget ceilings in
app-budgets.json,jsx-budgets.json, andminimal-budgets.jsonso CI can accept the framework growth from the upcoming in-place Block signal-owner work (#1857). Intended to merge immediately before that PR somain’s downward ratchet does not fail while #1857 stays open.61 budget increases (mostly raw +151–312 and gzip +37–115 on framework/total rows across sample apps, JSX, minimal roots, and signal-capable binding bundles). Five brotli values drop slightly where measured size shrank (
todo,root-chained-jsx,root-callback-local, etc.). Values matchrun.mjs/run-minimal.mjs--write-budgetson #1857 merged with currentmain, with the repo’s usual headroom (+32 raw/gzip, +256 brotli).No runtime or framework source changes—only committed budget JSON.
Reviewed by Cursor Bugbot for commit 2cb8cff. Bugbot is set up for automated code reviews on this repo. Configure here.