Repository navigation
chore(benchmarks): drop the dead *-budget reference targets - #1910
Merged
Merged
Conversation
#1907 removed every ratio guard whose reference was a committed `*-budget` peer, so the fixed reference values those scripts still published had no reader. Stop emitting them, drop them from the checked-in result files, and update the READMEs that described the removed guards. In-script assertions stay: spread.mjs, wave.mjs, refs.mjs and effect-cleanup.mjs still check their own limits. stream-budget-* and passive-scheduling's `budget` stay because live ratio guards reference them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
trueadm
marked this pull request as ready for review
October 8, 2026 16:02
Contributor
Benchmark report🟢 No byte growth, 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. |
Merged
7 of 9 tasks
trueadm
added a commit
that referenced
this pull request
Oct 8, 2026
Two pushes that publish at once could each find no open review issue and open one apiece, splitting the rolling log (Bugbot). Each publish attempt now writes to the oldest open review issue, folds in the entries of any newer review issue and closes it, then confirms its entry is in the oldest open issue. An issue the run just opened stays in view even if the issue listing lags behind. The GitHub calls sit behind a small adapter so a test can replay the race: one publish runs start to finish between the other's read and its create, and both entries end up in the surviving issue. Also drop the `*-budget` target filter: #1907 and #1910 removed those targets, so nothing produces them any more. Co-Authored-By: Claude Opus 5.5 <[email protected]>
7 of 8 tasks
trueadm
added a commit
that referenced
this pull request
Oct 8, 2026
* ci: review bundle growth after it lands on main Replaces pre-merge byte budgets with a post-merge review. Each push to main builds the bundle-size and reachability scenarios before and after the push. When a bundle grew by at least 32 gzip bytes, Claude reads the landed diff with read-only tools and judges whether the growth is earned or slop and how the change could have been written smaller. benchmarks/size-review.mjs records that in one rolling "Bundle size review" issue: an open one is edited in place, newest entry first, and a new one opens only when none is open. Claude runs only when the ANTHROPIC_API_KEY secret is set; without it the issue records the measured growth alone. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(ci): converge concurrent size-review publishes on one issue Two pushes that publish at once could each find no open review issue and open one apiece, splitting the rolling log (Bugbot). Each publish attempt now writes to the oldest open review issue, folds in the entries of any newer review issue and closes it, then confirms its entry is in the oldest open issue. An issue the run just opened stays in view even if the issue listing lags behind. The GitHub calls sit behind a small adapter so a test can replay the race: one publish runs start to finish between the other's read and its create, and both entries end up in the surviving issue. Also drop the `*-budget` target filter: #1907 and #1910 removed those targets, so nothing produces them any more. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(ci): record size reviews as issue comments and survive a Claude timeout Two publishes that read the same open issue body and edited it could overwrite each other: the later write still held its own entry and returned, so the earlier review vanished (Bugbot). Each entry is now its own comment on the rolling issue. Runs only add comments, so nothing a concurrent run writes can be lost. A rerun for the same commit edits its own comment, and the workflow's per-commit concurrency group serializes reruns. The issue body is a fixed header. Duplicate issues from two runs that both found none still fold into the oldest one and close. A 20-minute timeout killed the Claude step before its `||` fallback, so the job counted as failed and the record step was skipped (Bugbot). The step is now `continue-on-error`. It writes to analysis.partial.md and moves that to analysis.md only after a clean exit, so a killed review can't leak a partial analysis into the issue. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
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
*-budgetreference targets from 19 weekly benchmark scripts. ci: remove every byte and work-count budget gate #1907 removed the 366 ratio guards that compared against them, so nothing reads them anymore.ssr-final-replay/measurements.json,view-transitions/measurements.json, andbaselines/local/memo-wall.json.--ratiosto suites that no longer have any guards.Why
*-budgetpeers (for examplekeys-work-budget,state-access-budget,scan-budget/populated-budget/wave-budget,row-budget/render-budget). They were reference values for ratio guards that no longer exist.Changes
client-hot-paths/{keys,branches}.mjs,compiler-output/branch-environments.mjs,custom-hook-path/run.mjs,dom-events/spread.mjs,effect-postorder/refs.mjs,effect-scheduling/wave.mjs,hooks-runtime/{optional-arguments,state-access}.mjs,memo-wall/{bail-compare,survivor-work}.mjs,recursive-context/hooks-warm-work.mjs,root-transactions/reorders.mjs,scoped-signals/event-owners.mjs,ssr-final-metadata/audit.mjs,ssr-final-replay/work.mjs,svg-dashboard/work.mjs(the unusedBUDGETconstant is gone too),universal-materialization/run.mjs,view-transitions/effect-cleanup.mjs.ratios.jsonbefore and after ci: remove every byte and work-count budget gate #1907.ssr-replay-streaming'sstream-budget-*andpassive-scheduling'sbudget, so those stay.scoped-signals/run-trace.mjsstay.spread.mjsstill checksactual <= budget,wave.mjschecks collections and parent reads,refs.mjschecks zero sibling sorts, andeffect-cleanup.mjscheckseffect-cleanup-budget.json. Only their dead target output is removed.context:budget:check, and dated historical records stay.Validation
pnpm format:check(ranpnpm format:files:checkon every changed file: pass)pnpm typecheck(not run; the change is.mjs/.md/.jsononly)pnpm test(not run)git grep -n "\-budget'" benchmarksmatches only the three excludedrun-trace.mjsconfig names.node benchmarks/bench.mjs --listworks.pnpm ci:workflow:test: 377/377 pass.BENCH_JSONthe waybench.mjsinvokes them:branches,branch-environments,state-access,optional-arguments,custom-hook-path/run,hooks-warm-work,wave,refs,bail-compare,survivor-work,reorders,ssr-final-metadata/audit,ssr-final-replay/work,universal-materialization/run, andevent-owners. Fourteen exit 0 and emit no target containingbudget.scoped-signals/event-owners.mjsexits 1 at line 37 (potential signal bindings, a compiler-output assertion). Main's unmodified copy fails the same way, so the failure predates this PR.node --checkpasses on the Chromium-only scripts (keys.mjs,spread.mjs,svg-dashboard/work.mjs,effect-cleanup.mjs). I did not run them.pnpm syncproduced no changes.perf-review: not applicable. Benchmark scripts and docs only, no runtime, compiler-output, or binding hot paths.Risk / follow-ups
scoped-signals/event-owners.mjsalready fails on main: compiled output no longer matches/enableSignalBindings\(1, true\)/.view-transitions/effect-cleanup.mjsruns inci.yml's Chromium browser lane on every PR. It still enforces the committedeffect-cleanup-budget.jsonceilings (measured + 32 calls), which makes it a live CI work-count budget gate that ci: remove every byte and work-count budget gate #1907 did not remove.scoped-signals-trace'swrapped-max-budgetvsunfilled-max-budgetguard. That guard compared two measured configs in the same run, not a fixed value; it was removed only because its name ends in-budget.benchmarks/scoped-signals/README.mdstill describes it.Provenance
agent-authored)🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Note
Low Risk
Benchmark scripts, docs, and frozen JSON only; production runtime and CI work-count assertions called out as retained are untouched.
Overview
Follow-up to #1907: benchmark runners no longer emit fixed
*-budgetreference targets that existed only for deleted ratio guards inbaselines/ratios.json.Scripts stop appending paired budget rows (e.g.
branches-*-work-budget,keys-work-budget,custom-path-budget,scan-budget/populated-budget/wave-budget,svg-dashboarddrops the unusedBUDGETconstant and its-work-budgettarget). Checked-in artifacts (memo-wall.json,ssr-final-replay/measurements.json,view-transitions/measurements.json) drop the same entries.Docs reword “ratio guards” to recorded work counts and remove
--ratiosfrom severalbench.mjsexamples where suites no longer have those guards. Unchanged: in-script ceilings (spread.mjs,wave.mjs,refs.mjs,effect-cleanup.mjs+effect-cleanup-budget.json), and live ratio targets likestream-budget-*/ passivebudget.Reviewed by Cursor Bugbot for commit 0aa73a7. Bugbot is set up for automated code reviews on this repo. Configure here.