Repository navigation
ci(bench): raise byte budgets for the de-opt survivor fast path - #1676
Merged
Merged
Conversation
#1664 lets a surviving value-position list row whose descriptor names the same component take the memo bail without entering its item render. memo-wall one_change_B goes from 1.30-1.41x to 0.80x React Compiler (paired, same runner). Per bailed row it drops from 48 to 26 production calls and from 8 root-journal slots to 0. The fast path itself (updateDeoptComponent) is code that bundles which already contain the descriptor renderer now carry: about +800 raw / +210-290 gzip. Compiled-only applications pay +20 raw / about +10 gzip for the shared call, which fits their budgets except weather's total gzip, whose headroom had fallen to 7 bytes. Each budget below is set to #1664's measured bytes (PR bench run 37140101926, on its merge commit with main d826c3e) plus 32 for raw and gzip and plus 256 for brotli, as #1638 set them. Only values #1664 exceeds change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
trueadm
marked this pull request as ready for review
October 3, 2026 17:32
4 of 5 tasks
Contributor
Benchmark report🟢 No budget breaches, no added work, and no timing changes beyond ±3%. Compares js-framework: 1k/10k row operations
All 20 timed operations (19 without a verdict)
All 64 work counters are unchanged. Application bundle size (bytes)No changes across 45 measured values. Public-import reachability bundles (bytes)No changes across 105 measured values. |
Merged
5 of 6 tasks
trueadm
added a commit
that referenced
this pull request
Oct 3, 2026
…nd warm-plan perf PRs (#1687) Three open runtime perf pull requests fail the PR bench byte gate on main 12c32ec, and landing any two of them stacks past the 32-byte headroom: - #1664 (de-opt survivor fast path): +809 raw / +290 gzip in the bindings app framework chunk, which #1676 did not raise because #1639 added that budget key first; +20 raw in every compiled-only app. - #1666 (warm-plan length guard): +17 raw in every client bundle, two `!==` guards. - #1663 (scoped-value read-once): +2 raw / +30-70 gzip in descriptor-renderer bundles, a compression shift from the restructured childSlot reads. Main had already spent part of the headroom: bindings framework gzip measured exactly its budget and deferred-hydration raw had 8 bytes left. Each budget is set to the largest value measured across each PR merged alone with main and all of them merged together (plus #1665, which moves none of these values), plus 32 for raw and gzip and 256 for brotli. Only values one of those trees exceeds change. Co-authored-by: Claude Opus 5.5 <[email protected]>
This branch was previously deployed
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
Raises the 21 byte budgets that #1664 (de-opt survivor fast path) exceeds. Each is set to #1664's measured bytes plus 32 for raw and gzip, and plus 256 for brotli, following #1638's convention. Per the report's policy, this raise lands on its own instead of inside the feature PR.
Merge order: land this before #1664. On main alone these raises are slack. If #1664 doesn't land, close this PR.
Interaction with #1639 (budgets owner's check, with #1664's head merged into #1639 at ea780ae). #1639 adds a new
bindingsapp budget key, and #1664 grows that app's framework chunk.bindingsframework raw / gzip / brotli 363,730 / 119,001 / 103,528 and total 719,651 / 240,727 / 205,309 (measured +32 / +256). The app chunk is unchanged.Why
#1664 lets a surviving value-position list row (createElement descriptors, as every
@octanejs/*binding renders) take its component's memo bail without entering the item render. Results:one_change_B: 1.30–1.41x React Compiler before, 0.80x after (paired same-runner runs 37118439907 and 37118659239). perf(octane): update a same-component de-opt list item without entering its render #1664 also drops that guard's waiver and tightens its ceiling from 1.4 to 1.1.The bytes are the fast path itself,
updateDeoptComponent. It reaches compiled-@forcode only as data (ForSlot.plainDeopt), so compiled-only apps pay +20 raw / about +10 gzip and stay inside their budgets, apart from weather's total gzip, whose headroom had fallen to 7 bytes.Changes
Measured in PR bench run 37140101926 (#1664's merge commit with main d826c3e):
Validation
Provenance
agent-authored)🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Note
Low Risk
Only updates benchmark budget JSON thresholds; no runtime or application logic changes.
Overview
Raises bundle-size CI ceilings in
app-budgets.json,jsx-budgets.json, andminimal-budgets.jsonso the de-opt survivor fast path from #1664 can pass the budget gate without landing the threshold bumps inside the feature PR.Weather total gzip gets a small bump (+34). JSX framework/total raw and gzip rise (~+800 raw / ~+250 gzip). Minimal budgets for
root-static, several@octanejs/*binding fixtures (base-ui, radix, apollo-client, vite/esbuild variants), and one radix-esbuild brotli value are updated to match post-#1664 measurements plus the repo’s usual headroom (+32 raw/gzip, +256 brotli where applied).Intended to merge with #1664; on main alone these limits are looser than needed.
Reviewed by Cursor Bugbot for commit 42b9815. Bugbot is set up for automated code reviews on this repo. Configure here.