Skip to content

perf(octane): record event signal authority on the host instead of weak maps - #1655

Merged
trueadm merged 3 commits into
mainfrom
perf/event-signal-owner-expando
Oct 3, 2026
Merged

trueadm merged 3 commits into
mainfrom
perf/event-signal-owner-expando

Conversation

@trueadm

@trueadm trueadm commented Oct 3, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Mounting rows that have event handlers no longer does weak-map bookkeeping. This was the #1069 cost behind the js-framework-reorder 100-row insert regressions and part of the memo-wall context-refresh regression.

  • Event authority on the host. A module that can receive a signal handle is any .tsrx module with prop-bound holes (it emits enableSignalBindings(1, true)). In such a module, every native handler recorded its signal authority in SIGNAL_EVENT_OWNERS (a WeakMap<Element, owner>) and marked its scope as escaped in SCOPE_SIGNAL_OWNERS. Every mounted row paid two weak-map insertions, even with no signals in use. The authority now lives in a $$signalOwner property beside the host's handler slots ($$click, $$eventOwner). It is journaled and rolled back as before, now with a JOURNAL_EVENT_OWNER (el, previous) entry. The escape mark is a declared signalTokenEscaped field on ScopeImpl/BlockImpl, with the same retirement truth table as the old false entry.
  • Scalar text fast path. bindSignalText writes a scalar over the Text it already owns with setText directly, instead of going through bindDirectSignal → policy.write → writeDirectSignalText. setText still journals the text and the binding bag. Every compiled text-hole update in such a module runs this path, including memo-wall's 1,000 context leaves.

Why

Same-runner paired A/B (Bench workflow, scratch branch, every build served at once, run-reorder.mjs/memo-wall/run.mjs paired harness from #1646):

op (ms) pre-#1069 (1ed5d2a) main (dc3e180) this PR
js-framework-reorder prepend100 0.48 0.80 0.48
append100 0.46 0.84 0.48
insertmid100 0.48 0.80 0.50
memo-wall ctx_through_wall_B 0.563 0.669 0.622
memo-wall ctx_through_wall_A 0.576 0.686 0.643

Runs 37111170608 and 37112063521. The 100-row inserts return to their pre-#1069 cost. Attribution: precise-call coverage plus WeakMap.prototype.set counts. On main, prepend100 makes 300 weak-map insertions; with this PR it makes 0. In a CPU profile of prepend100 on main, setEventHandler self time was about 30% of JS time.

The remaining ctx_through_wall gap comes from #833's per-leaf text journal. That is handled separately in the #833 keyed-journal PR.

Final paired runs (this head and with #1656)

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

op pre-#1069 main this PR with #1656
prepend100 0.42 / 0.55 0.72 / 0.87 0.45 / 0.53 0.47 / 0.58
append100 0.48 / 0.47 0.77 / 0.83 0.48 / 0.55 0.48 / 0.42
insertmid100 0.43 / 0.53 0.70 / 0.88 0.43 / 0.53 0.47 / 0.53
memo-wall ctx_through_wall_B 0.550 / 0.651 0.654 / 0.745 0.579 / 0.695 0.581 / 0.687

ctx_through_wall_B against React (guard 0.85): main 0.83 / 0.88, this PR 0.73 / 0.82, with #1656 0.73 / 0.81.

Validation

  • New behavioral test event-signal-owner-retirement.test.ts: when an inner handler deletes the outer component, the outer component's queued bubble handler still runs under that component's (now retired) authority. It neither falls back to the document owner nor mints instance state. It passes on main's runtime and on this branch. It fails when dispatch stops reading the host's recorded owner.
  • Mutation checks:
    • Removing JOURNAL_EVENT_OWNER rollback fails 10+ event-signal-owner.test.ts cases.
    • Removing the fast path's setText fails 20 binding tests.
    • Replacing it with an unjournaled nodeValue write fails 17 differential/suspense-timing root-hold cases.
  • New deterministic guard: signal-dom-bindings / event-owners.mjs counts weak-map insertions per mounted row and per inserted row. It reads 2 and 2 on main and 0 and 0 here, against maxRatio: 0, with dispatch and survivor-identity controls. node benchmarks/bench.mjs signal-dom-bindings --quick --ratios reports both guards passing. The suite's existing run-dom-bindings.mjs currently fails a source-site assertion on main; ci(bench): triage the weekly ratio-guard breaches so new ones show #1641 fixes it.
  • targeted tests (--project octane): event-signal-owner, event-signal-owner-retirement, stable-event-authority, differential/suspense-timing, hydration/direct-signal-bindings, retired-event-hosts: 579 passed. --project octane-signals: six event-related signals files, 138 passed.
  • pnpm typecheck:files on the changed source and tests; pnpm format:files; pnpm sync.
  • pnpm test, pnpm typecheck, pnpm format:check: left to CI (many parallel local sessions).

Risk / follow-ups

  • Elements in modules with potential signal bindings gain one more $$ expando, beside $$click and $$eventOwner.
  • No existing test reaches the scope escape mark on its own. In reachable scenarios the signals facade already refuses instance state for a deleted component. The field keeps the old false-entry semantics exactly.
  • Ratio-guard waivers for these suites live on fix(benchmarks): pair the timing samples behind waived ratio guards and re-judge them #1646. Once both land, remove the waivers covered here (none of the four is fully owned by this PR alone) and re-tighten the notes with paired numbers.

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 how event handlers bind to signal authority and scope retirement during delegated dispatch and transaction rollback; behavior is heavily tested but touches core runtime event/signal integration.

Overview
Event signal authority no longer uses per-row WeakMap insertions in modules that may receive signal handles. Each host now stores its handler’s authority on $$signalOwner, with rollback via updated JOURNAL_EVENT_OWNER entries; scopes that published authority are marked with signalTokenEscaped instead of a weak-map false sentinel. Delegated dispatch and staged publication read/write that host field the same way they previously used the map.

Scalar text updates in those modules take a fast path: when the hole already owns a Text node and the value isn’t a signal handle, bindSignalText calls setText directly (still journaled) instead of routing through the full signal-binding write path.

Benchmarks and tests add weak-map write guards for keyed rows with click handlers (event-owners.mjs), retarget stable-event-authority counting to $$signalOwner, and add a retirement case where a queued bubble handler after inner delete must not revive instance state for the removed component.

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

…ak maps

#1069 made every module that can receive a signal handle record each native
handler's signal authority: the element's owner in one weak map and an
"escaped" mark for the scope in another. Keyed rows paid two weak-map
insertions per mounted row even with no signals in use. A same-runner paired
A/B put prepend100/append100/insertmid100 at 0.48 -> 0.76 ms across #1069.

The element's authority now lives in a $$signalOwner property beside its
handler slots, journaled and rolled back like before, and the escape mark is a
signalTokenEscaped field on Scope/Block with the same retirement truth table.
Mounting no longer touches a weak map.

bindSignalText also writes a scalar over the Text it already owns directly,
skipping bindDirectSignal's policy dispatch; setText still journals the text
and the binding bag. That path runs for every compiled text-hole update in
such a module (memo-wall context refresh: 0.669 -> 0.622 ms paired).

The signal-dom-bindings suite gains a deterministic guard counting weak-map
insertions per mounted and inserted handler row (2 on main, 0 now), with
dispatch and survivor-identity controls.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@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
@trueadm
trueadm marked this pull request as ready for review October 3, 2026 09:37
@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Benchmark report

  • 🔴 bundle-size: 25 value(s) increased
  • 🔴 bundle-reachability: 40 value(s) increased

Compares a0df40945 with 41f056207 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)

target operation base head Δ noise
octane-tsrx run 3.77 3.21 −14.9% ±10% 🟢 faster
octane-tsrx add 3.49 2.78 −20.3% ±9% 🟢 faster
All 20 timed operations (18 within noise)
target operation base head Δ noise
octane-tsrx run 3.77 3.21 −14.9% ±10% 🟢 faster
octane-tsrx replace 7.56 6.76 −10.6% ±15% ⚪ within noise
octane-tsrx add 3.49 2.78 −20.3% ±9% 🟢 faster
octane-tsrx update 0.37 0.31 −16.2% ±28% ⚪ within noise
octane-tsrx select 0.12 0.14 +16.7% ±67% ⚪ within noise
octane-tsrx swap 0.34 0.35 +2.9% ±50% ⚪ within noise
octane-tsrx remove 0.38 0.33 −13.2% ±36% ⚪ within noise
octane-tsrx runlots 32.22 25.71 −20.2% ±27% ⚪ within noise
octane-tsrx select_lots 0.21 0.22 +4.8% ±64% ⚪ within noise
octane-tsrx clear 45.45 43.23 −4.9% ±6% ⚪ within noise
octane-jsx run 3.86 3.87 +0.3% ±18% ⚪ within noise
octane-jsx replace 7.16 7.67 +7.1% ±10% ⚪ within noise
octane-jsx add 3.38 3.36 −0.6% ±10% ⚪ within noise
octane-jsx update 0.67 0.56 −16.4% ±29% ⚪ within noise
octane-jsx select 0.45 0.43 −4.4% ±29% ⚪ within noise
octane-jsx swap 0.68 0.72 +5.9% ±23% ⚪ within noise
octane-jsx remove 0.67 0.66 −1.5% ±31% ⚪ within noise
octane-jsx runlots 28.78 29.29 +1.8% ±8% ⚪ within noise
octane-jsx select_lots 2.63 2.70 +2.7% ±39% ⚪ within noise
octane-jsx clear 45.99 46.89 +2.0% ±7% ⚪ within noise

Application bundle size (bytes)

target metric base head Δ
octane-tsrx js_raw 125,057 125,121 +64 (+0.1%) 🔴
octane-tsrx js_gzip 41,337 41,341 +4 (+0.0%) 🔴
octane-tsrx js_brotli 36,482 36,461 −21 (−0.1%) 🟢
octane-tsrx app_brotli 2,224 2,227 +3 (+0.1%) 🔴
octane-tsrx fw_raw 117,545 117,609 +64 (+0.1%) 🔴
octane-tsrx fw_gzip 38,775 38,779 +4 (+0.0%) 🔴
octane-tsrx fw_brotli 34,258 34,234 −24 (−0.1%) 🟢
octane-tsrx todo_js_raw 140,534 140,598 +64 (+0.0%) 🔴
octane-tsrx todo_js_gzip 46,386 46,398 +12 (+0.0%) 🔴
octane-tsrx todo_js_brotli 40,685 40,742 +57 (+0.1%) 🔴
octane-tsrx todo_app_brotli 2,121 2,117 −4 (−0.2%) 🟢
octane-tsrx todo_fw_raw 135,424 135,488 +64 (+0.0%) 🔴
octane-tsrx todo_fw_gzip 43,910 43,922 +12 (+0.0%) 🔴
octane-tsrx todo_fw_brotli 38,564 38,625 +61 (+0.2%) 🔴
octane-tsrx chat_js_raw 139,654 139,718 +64 (+0.0%) 🔴
octane-tsrx chat_js_gzip 46,311 46,304 −7 (−0.0%) 🟢
octane-tsrx chat_js_brotli 40,711 40,745 +34 (+0.1%) 🔴
octane-tsrx chat_app_gzip 2,976 2,979 +3 (+0.1%) 🔴
octane-tsrx chat_app_brotli 2,629 2,641 +12 (+0.5%) 🔴
octane-tsrx chat_fw_raw 133,001 133,065 +64 (+0.0%) 🔴
octane-tsrx chat_fw_gzip 43,335 43,325 −10 (−0.0%) 🟢
octane-tsrx chat_fw_brotli 38,082 38,104 +22 (+0.1%) 🔴
octane-tsrx weather_js_raw 176,630 176,696 +66 (+0.0%) 🔴
octane-tsrx weather_js_gzip 57,749 57,746 −3 (−0.0%) 🟢
octane-tsrx weather_js_brotli 50,357 50,362 +5 (+0.0%) 🔴
octane-tsrx weather_app_brotli 7,619 7,575 −44 (−0.6%) 🟢
octane-tsrx weather_fw_raw 149,895 149,961 +66 (+0.0%) 🔴
octane-tsrx weather_fw_gzip 48,704 48,701 −3 (−0.0%) 🟢
octane-tsrx weather_fw_brotli 42,738 42,787 +49 (+0.1%) 🔴
octane-jsx js_raw 226,632 226,688 +56 (+0.0%) 🔴
octane-jsx js_gzip 72,341 72,337 −4 (−0.0%) 🟢
octane-jsx js_brotli 62,641 62,651 +10 (+0.0%) 🔴
octane-jsx app_gzip 2,936 2,935 −1 (−0.0%) 🟢
octane-jsx app_brotli 2,497 2,496 −1 (−0.0%) 🟢
octane-jsx fw_raw 218,173 218,229 +56 (+0.0%) 🔴
octane-jsx fw_gzip 69,405 69,402 −3 (−0.0%) 🟢
octane-jsx fw_brotli 60,144 60,155 +11 (+0.0%) 🔴

8 other measured values are unchanged.

Public-import reachability bundles (bytes)

target metric base head Δ
cli-spa-starter raw 114,869 114,914 +45 (+0.0%) 🔴
cli-spa-starter gzip 38,757 38,771 +14 (+0.0%) 🔴
cli-spa-starter brotli 33,926 33,976 +50 (+0.1%) 🔴
root-static-specialized raw 76,940 76,977 +37 (+0.0%) 🔴
root-static-specialized gzip 25,536 25,537 +1 (+0.0%) 🔴
root-static-specialized brotli 22,741 22,763 +22 (+0.1%) 🔴
root-chained-jsx raw 84,258 84,303 +45 (+0.1%) 🔴
root-chained-jsx gzip 27,845 27,865 +20 (+0.1%) 🔴
root-chained-jsx brotli 24,808 24,820 +12 (+0.0%) 🔴
root-static raw 202,869 202,927 +58 (+0.0%) 🔴
root-static gzip 64,528 64,524 −4 (−0.0%) 🟢
root-static brotli 55,936 55,951 +15 (+0.0%) 🔴
root-static-local raw 76,943 76,980 +37 (+0.0%) 🔴
root-static-local gzip 25,523 25,524 +1 (+0.0%) 🔴
root-static-local brotli 22,754 22,753 −1 (−0.0%) 🟢
hooks-state raw 88,983 89,041 +58 (+0.1%) 🔴
hooks-state gzip 29,551 29,538 −13 (−0.0%) 🟢
hooks-state brotli 26,264 26,319 +55 (+0.2%) 🔴
prop-attributes raw 95,589 95,655 +66 (+0.1%) 🔴
prop-attributes gzip 31,699 31,695 −4 (−0.0%) 🟢
prop-attributes brotli 28,174 28,173 −1 (−0.0%) 🟢
context raw 109,005 109,073 +68 (+0.1%) 🔴
context gzip 36,057 36,045 −12 (−0.0%) 🟢
context brotli 31,926 31,971 +45 (+0.1%) 🔴
hydrate-root raw 172,841 172,886 +45 (+0.0%) 🔴
hydrate-root gzip 54,794 54,777 −17 (−0.0%) 🟢
hydrate-root brotli 47,891 47,807 −84 (−0.2%) 🟢
deferred-hydration raw 236,115 236,179 +64 (+0.0%) 🔴
deferred-hydration gzip 74,648 74,634 −14 (−0.0%) 🟢
deferred-hydration brotli 64,412 64,356 −56 (−0.1%) 🟢
suspense-transition raw 164,948 165,015 +67 (+0.0%) 🔴
suspense-transition gzip 52,939 52,953 +14 (+0.0%) 🔴
suspense-transition brotli 46,342 46,363 +21 (+0.0%) 🔴
component-owned-effects raw 81,431 81,491 +60 (+0.1%) 🔴
component-owned-effects gzip 26,841 26,822 −19 (−0.1%) 🟢
component-owned-effects brotli 23,907 23,890 −17 (−0.1%) 🟢
binding-hooks raw 87,496 87,556 +60 (+0.1%) 🔴
binding-hooks gzip 29,291 29,298 +7 (+0.0%) 🔴
binding-hooks brotli 26,087 26,095 +8 (+0.0%) 🔴
binding-base-ui-vite raw 213,100 213,158 +58 (+0.0%) 🔴
binding-base-ui-vite gzip 68,108 68,105 −3 (−0.0%) 🟢
binding-base-ui-vite brotli 59,019 58,996 −23 (−0.0%) 🟢
binding-base-ui-esbuild raw 211,053 211,115 +62 (+0.0%) 🔴
binding-base-ui-esbuild gzip 68,068 68,051 −17 (−0.0%) 🟢
binding-base-ui-esbuild brotli 59,025 58,921 −104 (−0.2%) 🟢
binding-radix-vite raw 215,032 215,090 +58 (+0.0%) 🔴
binding-radix-vite gzip 68,660 68,644 −16 (−0.0%) 🟢
binding-radix-vite brotli 59,632 59,573 −59 (−0.1%) 🟢
binding-radix-esbuild raw 212,945 213,007 +62 (+0.0%) 🔴
binding-radix-esbuild gzip 68,650 68,649 −1 (−0.0%) 🟢
binding-radix-esbuild brotli 59,604 59,568 −36 (−0.1%) 🟢
binding-mantine-hooks-vite raw 96,224 96,292 +68 (+0.1%) 🔴
binding-mantine-hooks-vite gzip 31,935 31,931 −4 (−0.0%) 🟢
binding-mantine-hooks-vite brotli 28,377 28,389 +12 (+0.0%) 🔴
binding-mantine-hooks-esbuild raw 95,819 95,891 +72 (+0.1%) 🔴
binding-mantine-hooks-esbuild gzip 32,098 32,093 −5 (−0.0%) 🟢
binding-mantine-hooks-esbuild brotli 28,546 28,578 +32 (+0.1%) 🔴
binding-apollo-client-vite raw 358,115 358,173 +58 (+0.0%) 🔴
binding-apollo-client-vite gzip 112,223 112,212 −11 (−0.0%) 🟢
binding-apollo-client-vite brotli 98,004 97,897 −107 (−0.1%) 🟢
binding-apollo-client-esbuild raw 361,060 361,122 +62 (+0.0%) 🔴
binding-apollo-client-esbuild gzip 114,405 114,390 −15 (−0.0%) 🟢
binding-apollo-client-esbuild brotli 99,739 99,702 −37 (−0.0%) 🟢
binding-usehooks-ts-vite raw 96,857 96,925 +68 (+0.1%) 🔴
binding-usehooks-ts-vite gzip 32,111 32,106 −5 (−0.0%) 🟢
binding-usehooks-ts-vite brotli 28,545 28,543 −2 (−0.0%) 🟢
binding-usehooks-ts-esbuild raw 96,441 96,513 +72 (+0.1%) 🔴
binding-usehooks-ts-esbuild gzip 32,256 32,254 −2 (−0.0%) 🟢
binding-usehooks-ts-esbuild brotli 28,662 28,714 +52 (+0.2%) 🔴

36 other measured values are unchanged.

The stable-event-authority work observer counted authority writes through
WeakMap.prototype.set. Authority now lives in each host's $$signalOwner
property, so the observer counts writes through an Element.prototype
accessor instead. The expected counts are unchanged (400 mount, 0 retained,
0 changed capture), and dropping the runtime's unchanged-authority skip
still fails the retained-write assertion.

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

vercel Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated
octane-website Skipped Skipped Oct 3, 2026 10:08am UTC
octane-website-mcp Skipped Skipped Oct 3, 2026 10:08am UTC

Request Review

@vercel
vercel Bot temporarily deployed to Preview – octane-website October 3, 2026 10:08 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp October 3, 2026 10:08 Inactive
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]>
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]>
@trueadm
trueadm merged commit 320f9e3 into main Oct 3, 2026
30 checks passed
@trueadm
trueadm deleted the perf/event-signal-owner-expando branch October 3, 2026 11:02
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