Skip to content

perf(octane): restore keyed survivor indices from the list's shape record - #1656

Merged
trueadm merged 4 commits into
mainfrom
perf/keyed-root-journal
Oct 3, 2026
Merged

trueadm merged 4 commits into
mainfrom
perf/keyed-root-journal

Conversation

@trueadm

@trueadm trueadm commented Oct 3, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Keyed reorders no longer journal every surviving row during an undoable root render. This removes about half of #833's keyed-reorder regression (js-framework-reorder rotate/displace/remove).

  • updateSurvivor journaled each survivor's previous itemIndex: one JOURNAL_PROP entry, four slots per row, on every reorder, removal or insertion that shifts positions. An index moves only when the list's membership or order does, and that already records the list's shape (journalForSlot). reconcileKeyed now takes that record before the first survivor index write. restoreForSlot restores each row's itemIndex from its chain position, since every reconcile leaves a row's index equal to its position.
  • The hydration-adoption branch of journalForSlot restores a DOM range, not a chain, so it still journals each existing row's index, before any of them moves. Transition journals never restored itemIndex (the per-row entry was root-only); they now restore it with the chain.
  • The shape record builds the key order with one spread of items.values() and an early-exit comparison, replacing an iterator loop that copied it element by element. The result is the same: null when the key order equals the chain order, otherwise the full key order.

Why

Same-runner paired A/B (Bench workflow, scratch branch, every build served at once, paired run-reorder.mjs from #1646), run 37112063521, ms per click:

op pre-#833 (6927595) main index restore only
rotateb 0.0498 0.0714 0.0611
rotatef 0.0548 0.0776 0.0680
removefirst 0.024 0.046 0.042
displace3 0.0604 0.0849 0.0729
displace6 0.0659 0.0975 0.0845

Measurement-only variants on the same run bound what is left. Dropping the key-order scan gave rotateb 0.0578. Dropping the whole shape snapshot, which is unsafe, gave 0.0535, so the snapshot's O(N) chain copy, the per-commit transaction setup and parked removals account for the rest. Final numbers for this branch follow below.

Final paired runs (this head and with #1655)

Runs 37114023279 and 37114031982, same runner, 15 paired rounds. Each cell gives the two runs, in ms.

op pre-#833 main this PR with #1655
rotateb 0.0505 / 0.0523 0.0720 / 0.0753 0.0595 / 0.0638 0.0621 / 0.0628
rotatef 0.0537 / 0.0594 0.0773 / 0.0830 0.0636 / 0.0757 0.0617 / 0.0720
displace6 0.0605 / 0.0712 0.0847 / 0.1005 0.0709 / 0.0897 0.0714 / 0.0904
removefirst 0.0225 / 0.0242 0.0417 / 0.0492 0.0375 / 0.0425 0.0400 / 0.0433

rotateb against React (guard 0.6, waived on #1646): main 0.64 / 0.63, this PR 0.53 / 0.53, with #1655 0.55 / 0.53. When the guard was set, before #833, it was 0.45.

Validation

  • New held-root test in fresh-root-scope-hold.test.ts: index-reading keyed rows are reordered (rotate, reverse, remove first, insert first) while a sibling suspends without a boundary. The DOM stays put, and after the retry every row shows item:position with survivor identity kept. It fails (4/4) when restoreForSlot does not restore indices, and on main with its per-row journal removed. It passes on main.
  • New deterministic guard: root-transactions / reorders.mjs counts root-journal slots per row (difference between 128- and 256-row lists) for rotate, reverse, remove first and insert first. It reads 4 on main and 0 here, against maxRatio: 0, with DOM order and survivor identity checked. node benchmarks/bench.mjs root-transactions --quick --ratios passes all checked guards. The suite's existing contracts.mjs fails a source-string assertion on main; ci(bench): triage the weekly ratio-guard breaches so new ones show #1641 fixes it.
  • targeted tests (--project octane): fresh-root-scope-hold, parked-two-windows, suspense-preserves-dom, transitions, empty-refill-rollback, for, differential/suspense-timing, keyed-removal-lifetime, keyed-selection-alias and two reconcile conformance stress files: 600 passed.
  • pnpm typecheck:files on the changed source and tests (the fixture's untyped-props errors are pre-existing on main); pnpm format:files; pnpm sync.
  • pnpm test, pnpm typecheck, pnpm format:check: left to CI (many parallel local sessions).

Risk / follow-ups

  • Restoring indices from chain order relies on a survivor's index changing only together with the list's shape, and on every reconcile leaving indices equal to positions. The early record makes the first hold for any survivor whose index moves.
  • Bytes: after trimming (no helper, no side map) the js-framework octane-tsrx bundle is +130 raw / +31 gzip against main, including the adoption branch's per-row index journal that Bugbot asked to keep. The first bench report showed +250 / +90.
  • No existing test pins key-map order after a rollback; the order only affects context-refresh iteration. The rewrite is equivalent by construction.
  • Remaining fix: retain suspended roots without a boundary #833 cost on reorders is the O(N) shape snapshot and per-commit transaction setup. memo-wall's context refresh still pays a per-leaf text journal: a live nodeValue read, which is a contract, plus a bag clone.
  • The js-framework-reorder rotateb waiver lives on fix(benchmarks): pair the timing samples behind waived ratio guards and re-judge them #1646. Remove it after both land, using the paired numbers above.

Provenance

  • An agent produced this diff (agent-authored)

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Note

Medium Risk
Changes undo/rollback invariants for keyed @for during root transactions; incorrect index restoration would show wrong positions after held renders, though new benchmarks and held-root tests target this path.

Overview
Keyed list reorders during undoable root renders no longer journal each survivor's itemIndex (four journal slots per row). Rollback now relies on the existing list shape snapshot: reconcileKeyed records that shape before the first index write, and restoreForSlot sets each row's itemIndex from its position in the restored chain. The hydration/adoption path still journals indices per row because it restores a DOM range, not a chain.

journalForSlot is triggered when a survivor's index changes (prefix/suffix/middle walks), returns false after recording, and builds key-order comparison via a single [...state.items.values()] spread instead of incremental copying.

Validation: new root-transactions/reorders.mjs benchmark guards (0 per-row index slots vs 4 on main), README baseline table update, and held-root tests for @for rows that read index across rotate/reverse/insert/remove while a sibling suspends.

Reviewed by Cursor Bugbot for commit b96e690. Bugbot is set up for automated code reviews on this repo. Configure here.

…cord

#833 made root renders undoable and journaled every keyed survivor's previous
itemIndex in updateSurvivor: four journal slots per row on each reorder,
removal, or insertion that shifts positions. A same-runner paired A/B put a
1,000-row rotate at 0.050 ms before #833 and 0.071 ms on main.

An index moves only when the list's membership or order does, which records
the list's shape (journalForSlot) anyway. reconcileKeyed now takes that
record before the first survivor index write, and restoreForSlot restores
each row's itemIndex from its chain position; a row whose index already
differed is kept exactly. The hydration adoption branch, which restores a DOM
range instead of a chain, still journals indices per row. Transition journals,
which never restored itemIndex, now restore it too.

The shape record also builds the key order with one spread and an early-exit
comparison instead of an iterator loop that copied the order element by
element.

The root-transactions suite gains reorders.mjs, which counts root-journal
slots per row for rotate/reverse/remove-first/insert-first (4 on main, 0
now). A held-root test pins that index-reading rows render their positions
after a held reorder retries; it fails when the index restore is removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@trueadm
trueadm marked this pull request as ready for review October 3, 2026 09:44
@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent perf PR: performance work labels Oct 3, 2026
@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Benchmark report

  • 🔴 bundle-size: 31 value(s) increased
  • 🔴 bundle-reachability: 34 value(s) increased

Compares a0df40945 with 888b158e8 on the same runner. Timing verdicts require a change beyond the combined margin of error (at least 5%) and one 0.1ms timer tick, with the fastest sample also moving beyond that margin. Workflow run

js-framework: 1k/10k row operations (ms, lower is better)

All 20 timed operations (20 within noise)
target operation base head Δ noise
octane-tsrx run 3.29 3.27 −0.6% ±11% ⚪ within noise
octane-tsrx replace 6.71 6.54 −2.5% ±10% ⚪ within noise
octane-tsrx add 3.25 3.16 −2.8% ±13% ⚪ within noise
octane-tsrx update 0.35 0.31 −11.4% ±46% ⚪ within noise
octane-tsrx select 0.11 0.12 +9.1% ±99% ⚪ within noise
octane-tsrx swap 0.29 0.28 −3.4% ±39% ⚪ within noise
octane-tsrx remove 0.32 0.29 −9.4% ±38% ⚪ within noise
octane-tsrx runlots 29.30 29.40 +0.3% ±27% ⚪ within noise
octane-tsrx select_lots 0.22 0.19 −13.6% ±76% ⚪ within noise
octane-tsrx clear 38.49 38.36 −0.3% ±8% ⚪ within noise
octane-jsx run 3.57 3.49 −2.2% ±12% ⚪ within noise
octane-jsx replace 6.49 6.68 +2.9% ±7% ⚪ within noise
octane-jsx add 3.07 3.07 −0.0% ±9% ⚪ within noise
octane-jsx update 0.51 0.52 +2.0% ±41% ⚪ within noise
octane-jsx select 0.32 0.31 −3.1% ±38% ⚪ within noise
octane-jsx swap 0.56 0.66 +17.9% ±42% ⚪ within noise
octane-jsx remove 0.55 0.71 +29.1% ±62% ⚪ within noise
octane-jsx runlots 26.83 26.82 −0.0% ±7% ⚪ within noise
octane-jsx select_lots 2.23 2.65 +18.8% ±34% ⚪ within noise
octane-jsx clear 40.86 40.10 −1.9% ±6% ⚪ within noise

Application bundle size (bytes)

target metric base head Δ
octane-tsrx js_raw 125,057 125,187 +130 (+0.1%) 🔴
octane-tsrx js_gzip 41,337 41,369 +32 (+0.1%) 🔴
octane-tsrx js_brotli 36,482 36,526 +44 (+0.1%) 🔴
octane-tsrx app_brotli 2,224 2,227 +3 (+0.1%) 🔴
octane-tsrx fw_raw 117,545 117,675 +130 (+0.1%) 🔴
octane-tsrx fw_gzip 38,775 38,807 +32 (+0.1%) 🔴
octane-tsrx fw_brotli 34,258 34,299 +41 (+0.1%) 🔴
octane-tsrx todo_js_raw 140,534 140,663 +129 (+0.1%) 🔴
octane-tsrx todo_js_gzip 46,386 46,427 +41 (+0.1%) 🔴
octane-tsrx todo_js_brotli 40,685 40,681 −4 (−0.0%) 🟢
octane-tsrx todo_app_gzip 2,476 2,477 +1 (+0.0%) 🔴
octane-tsrx todo_fw_raw 135,424 135,553 +129 (+0.1%) 🔴
octane-tsrx todo_fw_gzip 43,910 43,950 +40 (+0.1%) 🔴
octane-tsrx todo_fw_brotli 38,564 38,560 −4 (−0.0%) 🟢
octane-tsrx chat_js_raw 139,654 139,783 +129 (+0.1%) 🔴
octane-tsrx chat_js_gzip 46,311 46,338 +27 (+0.1%) 🔴
octane-tsrx chat_js_brotli 40,711 40,728 +17 (+0.0%) 🔴
octane-tsrx chat_app_gzip 2,976 2,979 +3 (+0.1%) 🔴
octane-tsrx chat_app_brotli 2,629 2,640 +11 (+0.4%) 🔴
octane-tsrx chat_fw_raw 133,001 133,130 +129 (+0.1%) 🔴
octane-tsrx chat_fw_gzip 43,335 43,359 +24 (+0.1%) 🔴
octane-tsrx chat_fw_brotli 38,082 38,088 +6 (+0.0%) 🔴
octane-tsrx weather_js_raw 176,630 176,759 +129 (+0.1%) 🔴
octane-tsrx weather_js_gzip 57,749 57,785 +36 (+0.1%) 🔴
octane-tsrx weather_app_raw 26,735 26,679 −56 (−0.2%) 🟢
octane-tsrx weather_app_gzip 9,045 9,034 −11 (−0.1%) 🟢
octane-tsrx weather_app_brotli 7,619 7,556 −63 (−0.8%) 🟢
octane-tsrx weather_fw_raw 149,895 150,080 +185 (+0.1%) 🔴
octane-tsrx weather_fw_gzip 48,704 48,751 +47 (+0.1%) 🔴
octane-tsrx weather_fw_brotli 42,738 42,801 +63 (+0.1%) 🔴
octane-jsx js_raw 226,632 227,014 +382 (+0.2%) 🔴
octane-jsx js_gzip 72,341 72,465 +124 (+0.2%) 🔴
octane-jsx js_brotli 62,641 62,738 +97 (+0.2%) 🔴
octane-jsx fw_raw 218,173 218,555 +382 (+0.2%) 🔴
octane-jsx fw_gzip 69,405 69,529 +124 (+0.2%) 🔴
octane-jsx fw_brotli 60,144 60,241 +97 (+0.2%) 🔴

9 other measured values are unchanged.

Public-import reachability bundles (bytes)

target metric base head Δ
cli-spa-starter raw 114,869 114,998 +129 (+0.1%) 🔴
cli-spa-starter gzip 38,757 38,807 +50 (+0.1%) 🔴
cli-spa-starter brotli 33,926 33,942 +16 (+0.0%) 🔴
root-static raw 202,869 203,251 +382 (+0.2%) 🔴
root-static gzip 64,528 64,657 +129 (+0.2%) 🔴
root-static brotli 55,936 56,035 +99 (+0.2%) 🔴
context raw 109,005 109,061 +56 (+0.1%) 🔴
context gzip 36,057 36,069 +12 (+0.0%) 🔴
context brotli 31,926 31,983 +57 (+0.2%) 🔴
deferred-hydration raw 236,115 236,171 +56 (+0.0%) 🔴
deferred-hydration gzip 74,648 74,668 +20 (+0.0%) 🔴
deferred-hydration brotli 64,412 64,515 +103 (+0.2%) 🔴
suspense-transition raw 164,948 165,004 +56 (+0.0%) 🔴
suspense-transition gzip 52,939 52,958 +19 (+0.0%) 🔴
suspense-transition brotli 46,342 46,352 +10 (+0.0%) 🔴
binding-base-ui-vite raw 213,100 213,482 +382 (+0.2%) 🔴
binding-base-ui-vite gzip 68,108 68,239 +131 (+0.2%) 🔴
binding-base-ui-vite brotli 59,019 59,136 +117 (+0.2%) 🔴
binding-base-ui-esbuild raw 211,053 211,429 +376 (+0.2%) 🔴
binding-base-ui-esbuild gzip 68,068 68,173 +105 (+0.2%) 🔴
binding-base-ui-esbuild brotli 59,025 59,125 +100 (+0.2%) 🔴
binding-radix-vite raw 215,032 215,414 +382 (+0.2%) 🔴
binding-radix-vite gzip 68,660 68,768 +108 (+0.2%) 🔴
binding-radix-vite brotli 59,632 59,614 −18 (−0.0%) 🟢
binding-radix-esbuild raw 212,945 213,320 +375 (+0.2%) 🔴
binding-radix-esbuild gzip 68,650 68,764 +114 (+0.2%) 🔴
binding-radix-esbuild brotli 59,604 59,586 −18 (−0.0%) 🟢
binding-mantine-hooks-vite raw 96,224 96,070 −154 (−0.2%) 🟢
binding-mantine-hooks-vite gzip 31,935 31,872 −63 (−0.2%) 🟢
binding-mantine-hooks-vite brotli 28,377 28,345 −32 (−0.1%) 🟢
binding-mantine-hooks-esbuild raw 95,819 95,669 −150 (−0.2%) 🟢
binding-mantine-hooks-esbuild gzip 32,098 32,020 −78 (−0.2%) 🟢
binding-mantine-hooks-esbuild brotli 28,546 28,492 −54 (−0.2%) 🟢
binding-apollo-client-vite raw 358,115 358,474 +359 (+0.1%) 🔴
binding-apollo-client-vite gzip 112,223 112,314 +91 (+0.1%) 🔴
binding-apollo-client-vite brotli 98,004 98,056 +52 (+0.1%) 🔴
binding-apollo-client-esbuild raw 361,060 361,413 +353 (+0.1%) 🔴
binding-apollo-client-esbuild gzip 114,405 114,514 +109 (+0.1%) 🔴
binding-apollo-client-esbuild brotli 99,739 99,758 +19 (+0.0%) 🔴
binding-usehooks-ts-vite raw 96,857 96,851 −6 (−0.0%) 🟢
binding-usehooks-ts-vite gzip 32,111 32,112 +1 (+0.0%) 🔴
binding-usehooks-ts-vite brotli 28,545 28,563 +18 (+0.1%) 🔴
binding-usehooks-ts-esbuild raw 96,441 96,435 −6 (−0.0%) 🟢
binding-usehooks-ts-esbuild gzip 32,256 32,253 −3 (−0.0%) 🟢
binding-usehooks-ts-esbuild brotli 28,662 28,710 +48 (+0.2%) 🔴

60 other measured values are unchanged.

trueadm and others added 2 commits October 3, 2026 11:08
The bench report on this PR measured +250 raw / +90 gzip bytes in every
bundle with a keyed list. journalForSlot now returns false, so the call
sites clear their pending flag without a helper. Rollback restores each
row's index from its chain position without a side map, since every
reconcile leaves a row's index equal to its position and the record is
taken before the first survivor index write. The hydration-adoption branch
does not restore a chain at all (its rows are fresh), so it no longer
journals indices per row either.

js-framework octane-tsrx bundle against main: +51 raw / +10 gzip (was
+251 / +51). The held-root index test still fails when the restore is
removed; the reorder guard still reads 0 slots per row.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
trueadm added a commit that referenced this pull request Oct 3, 2026
…ed fixes

rotateb and ctx_through_wall_B clear with #1655 and #1656; one_change_B's
per-row remainder and tooltip_swarm's scoped-descriptor accessor reads each
have their own fix task.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Hydration rollback drops row indices
    • Added itemIndex snapshot/restore in the hydration-adoption branch of journalForSlot so rollback restores row indices that updateSurvivor overwrites without a per-row journal, avoiding stale indices that cause pure retries to skip rendering.

Create PR

Or push these changes by commenting:

@cursor push 2da71e9a19
Preview (2da71e9a19)
diff --git a/packages/octane/src/runtime.ts b/packages/octane/src/runtime.ts
--- a/packages/octane/src/runtime.ts
+++ b/packages/octane/src/runtime.ts
@@ -4752,8 +4752,13 @@
 		// The initial chain is empty even though its DOM is already owned: server
 		// nodes or raw hosts being upgraded to Blocks. A failed adoption discards
 		// fresh scopes, not those hosts, while restoring the original range.
+		// A re-render on a chain the initial fill already populated may overwrite
+		// row indices in updateSurvivor; snapshot them so rollback can restore.
+		let rows: Block[] | null = null;
+		for (let b: Block | null = state.head; b !== null; b = b.nextSibling) (rows ??= []).push(b);
 		journalUndo(() => {
 			seen.delete(state);
+			if (rows !== null) for (let i = 0; i < rows.length; i++) rows[i].itemIndex = i;
 		});
 		journalRootRange(domNode(state.start).parentNode!, state.start, state.end);
 		return false;

You can send follow-ups to the cloud agent here.

Reviewed by Cursor Bugbot for commit d1080a4. Configure here.

Comment thread packages/octane/src/runtime.ts Resolved
The hydration-adoption branch of journalForSlot restores a DOM range, not a
chain, so the trim that dropped its per-row index entries left an existing
row's itemIndex on the aborted position after a hydrating render reordered
the list and rolled back. Journal each existing row's index there again,
before reconcileKeyed moves any of them. Bundle cost against main is now
+130 raw / +31 gzip for js-framework octane-tsrx.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@trueadm
trueadm merged commit 18c1b77 into main Oct 3, 2026
32 checks passed
@trueadm
trueadm deleted the perf/keyed-root-journal branch October 3, 2026 10:54
trueadm added a commit that referenced this pull request Oct 3, 2026
…nd re-judge them (#1646)

* ci(bench): triage the weekly ratio-guard breaches so new ones show

The weekly Bench job (`bench.mjs --quick --ratios`) was red with 81 ratio
breaches, 4 suites that wrote no numbers and 4 harness gate failures, so a new
breach was invisible. Every item is now a fix or a rebaseline.

- Harness drift, fixed. Each harness had stopped producing numbers when runtime
  source it anchors on changed:
  - ssr-final-replay: a second suspended loop since 2026-09-29.
  - root-transactions/contracts: staged-DOM text and attribute journaling since
    2026-09-15.
  - signal-dom-bindings: a second native style Block allocation site since
    2026-09-23.
  - codegen-size: the server runtime's lazy streamed-signals chunk since
    2026-09-16.
  - recursive-context: counted a pure-call annotation and trailing newlines as
    output growth.
- Rebaselined, with numbers in each note: five cross-framework bundle-size
  ratios and the workerd script-size ratio. The absolute app and server-render
  budgets are now the ratchet. Lynx's no-worklet byte caps from 2026-08-17 are
  reset to measured + 32, with the background program pinned exactly.
- Fix pending, with dated waivers that expire 2026-10-24, each with an owner
  task:
  - three exact counters the revived harnesses exposed (one extra closure per
    ssrTry, 128 live text reads per 128 unchanged compiled updates, compiled
    output at 1.295x its source);
  - Lynx create ratios and the re-entrant transport gate;
  - superlinear hydrate boundary preparation;
  - Octane Three versus R3F size and frame dispatch;
  - two timing regressions near the timer floor;
  - ten quick-mode timing guards whose samples are noise-bound;
  - the scoped descriptor shape change.
- bench.mjs supports a guard `waiver` ({ reason, expires }). A waived breach
  prints and does not fail, and fails again once the date passes.
  HARNESS_FAILURE_ALLOWLIST now also covers a suite whose harness writes no
  numbers.

The budget breaches (57) clear when the budget reset lands.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(benchmarks): pair and lengthen the timing samples behind waived ratio guards

Twelve timing guards breached in weekly quick runs without a verdict. Their
samples sat near Chromium's 100 µs clock or under two-sample noise, and each
target ran its whole block minutes after the other side of its guard.

- benchmarks/lib/paired.mjs: rotating per-round visit order and a ~20 ms
  sample calibration shared by the harnesses below.
- js-framework-reorder, memo-wall, svg-dashboard, spa-navigation: every
  target's page stays open in one browser and each sample round visits all
  targets; short ops repeat until a sample takes about 20 ms (clicks,
  hook invocations, op batches, and summed navigation legs).
- activity caught-reveal: a sample reveals several independent hidden roots
  in one window, with the small case revealing eight times as many roots so
  both cases do equal work; the cases alternate per round.
- ssr-workerd: an untimed priming spawn per target, then paired cold-spawn
  rounds; quick mode runs six rounds instead of two.
- bench.yml: a `suites` dispatch input to run selected suites.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(benchmarks): collect garbage before every timed spa-navigation leg

The untimed return leg mounts a whole route, and its collection landed
inside the next timed teardown: nav_teardown samples ran at 17-45% rme.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(benchmarks): re-judge the twelve waived timing guards with paired samples

Two quick CI runs of the paired, ~20 ms harness and same-runner A/B runs
against the commits that set each guard decided every waiver:

- Passing, waiver removed: activity reports, ssr-workerd
  cold_spawn_to_first_byte, svg-dashboard pan_zoom, memo-wall
  parent_rerender_equal_A and octane-jsx mount, spa-navigation
  nav_teardown and nav_mount (no Octane change since #674 on one runner).
- Rebaselined: svg-dashboard icon_swap 1.2 -> 1.6, because #983's esbuild
  minification made React 15% faster while Octane stayed flat.
- Confirmed Octane regressions, waiver kept and pointed at the fix:
  js-framework-reorder rotateb (1.41x per click since #639), memo-wall
  one_change_B (1.5x) and ctx_through_wall_B (1.44x), and svg-dashboard
  tooltip_swarm (1.31x since #635).
- The rotateb note claimed React moves every survivor; it moves one. A new
  rotatef guard covers the LIS-vs-lastPlacedIndex differentiator (0.043x).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(benchmarks): rebaseline spa-navigation nav_mount to its CI baseline

The 1.2 ceiling came from a local 0.94x reading. On CI runners #674 itself
measures 1.15x and head 1.09-1.16x, so the ceiling left 3% of quick-mode
headroom; 1.35 keeps a margin while still catching per-node mount growth.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(bench): drop the three weekly waivers that now have fix PRs

The waived guards now have owner PRs: ssr-final-replay try_closures (#1644),
root-transactions equal_reads (#1643) and codegen-size gzip compiled/source
(#1645). #1645 rebaselines the same codegen-size entry, so this branch no
longer edits it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(bench): leave lynx-render to its owner fix

The lynx-render transport gate failure and the create_1k/create_10k ratio
breaches both trace to #885's JSON-encoded transport and now have an owner
fix. Its branch re-notes those two guards, so this branch drops their waivers
and the suite's allowlist entry instead of editing the same entries.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(bench): keep harness failures unwaivable and leave descriptor shapes to their owner

Waiving a suite that throws before it writes numbers would hide any crash in
that suite, not only the known shape change, and skip all of its guards. The
scoped-descriptor-shapes defect has an owner fix in progress. That fix re-pins
the harness's expected keys, so narrowing the waiver here would edit the same
assertion. HARNESS_FAILURE_ALLOWLIST is empty again, and a thrown suite failure
always fails the job. Dated waivers remain only on individual ratio guards.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(bench): leave the Three guards to their owner fixes

three-renderer frame_1k_subscribers and the two three-bundle-size ratios have
owner PRs (#1651, #1652) that re-note and ratchet those entries, so this branch
drops their waivers instead of editing the same entries.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(benchmarks): point the four kept timing waivers at their attributed fixes

rotateb and ctx_through_wall_B clear with #1655 and #1656; one_change_B's
per-row remainder and tooltip_swarm's scoped-descriptor accessor reads each
have their own fix task.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(benchmarks): point parent_rerender_equal_A's note at its per-commit journal fix

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-authored Diff or issue body substantially produced by an AI agent perf PR: performance work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant