Repository navigation
Conversation
Budget-only raise for #1899 (#1864 follow-up: a pending cue renders at urgent priority, so a cue in an ancestor commits before the transition it announces). Measured with run-minimal.mjs and run.mjs --write-budgets on #1899 merged with main 87d9f95, raise-only against main e14fbdf's caps (the larger of the cap and measured + headroom), so nothing is lowered. 11 raises, all in applications that start transitions: +100 raw on suspense-transition, binding-base-ui-*, binding-radix-*, binding-apollo-client-* and the bindings app's framework and total, plus binding-base-ui-vite/esbuild gzip +35/+37. Every other row fits within its current headroom. Co-Authored-By: Claude Opus 5.5 <[email protected]>
trueadm
marked this pull request as ready for review
October 8, 2026 15:03
This was referenced Oct 8, 2026
Contributor
Benchmark report🟢 No budget breaches, no added work, and no timing changes beyond ±3%. Compares js-framework: 1k/10k row operationsAll 20 timed operations (20 without a verdict)
All 64 work counters are unchanged. Application bundle size (bytes)No changes across 60 measured values. Public-import reachability bundles (bytes)No changes across 111 measured values. |
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
Budget-only raise for #1899. That PR is a #1864 follow-up: a pending cue renders at urgent priority, so a cue in an ancestor commits before the transition it announces. Per
CONTRIBUTING.md("Size budgets"), the raise lands on its own and merges immediately before #1899.The values come from
run-minimal.mjs --write-budgetsandrun.mjs --write-budgets octane-tsrx octane-jsx, measured on #1899 merged withmain87d9f95b4c. They are raise-only againstmaine14fbdf9ac's caps: each budget is the larger of the cap and measured + headroom, so nothing is lowered.e14fbdf9acchanged only budgets, so the measurement still matches the current runtime.node benchmarks/bundle-size/budget-raises.mjs --base origin/mainreports 11 raises in a budget-only change.suspense-transitionrawbinding-base-ui-viteraw / gzipbinding-base-ui-esbuildraw / gzipbinding-radix-viterawbinding-radix-esbuildrawbinding-apollo-client-viterawbinding-apollo-client-esbuildrawbindingsframework rawbindingstotal rawMeasured growth on those rows: +100 raw, +15 to +37 gzip, −40 to +88 brotli. The rows not listed fit within their current 32-byte (gzip) or 256-byte (brotli) headroom. Applications that never start a transition are unchanged, including those that only read native signals. The new code lives in the optional transition root driver and in the three hooks that raise a cue.
Why the growth is worth it
#1899 closes the last same-class gap that #1888 left. When
isPendinglives in an ancestor of the component that holds the transition's state, the cue rendered that component's new state in the click's microtask flush. The browser could not paint the cue until the whole transition render had finished. Chromium Event Timing, Sort pattern with the cue in the ancestor, memoized 40 ms list, 5 clicks:main: 5/5 clicks slow (64, 40, 40, 40, 40 ms).The cost is about 100 raw bytes, only in applications that start transitions.
Validation
node benchmarks/bundle-size/budget-raises.mjs --base origin/main: 11 raises, budget-only.mainwas within all of its own caps (run-minimal.mjsonmain's runtime), so every raise here is fix(octane): render a pending cue at urgent priority (#1864) #1899's growth.perf-review: not applicable (budget files only; the code change is fix(octane): render a pending cue at urgent priority (#1864) #1899).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 budget ceiling updates with no application or library code changes.
Overview
Raises bundle-size budget caps only in
app-budgets.jsonandminimal-budgets.jsonso CI can pass after the pending-cue / urgent-transition work in #1899 lands. No runtime or benchmark harness code changes—just updatedraw(and a fewgzip) limits.11 raise-only adjustments, mostly +100 raw on framework-related rows:
bindingsframework/total,suspense-transition, several UI binding fixtures (base-ui, radix, apollo vite/esbuild), plus small gzip bumps on base-ui vite/esbuild. Values were regenerated with the repo’s--write-budgetsflow and are intended to merge immediately before #1899 per the size-budget workflow.Reviewed by Cursor Bugbot for commit 12a659a. Bugbot is set up for automated code reviews on this repo. Configure here.