Skip to content

perf(octane): install commit, owner and native-read leaves from their creators - #2257

Merged
trueadm merged 4 commits into
mainfrom
perf/creator-installed-commit-work
Oct 28, 2026
Merged

trueadm merged 4 commits into
mainfrom
perf/creator-installed-commit-work

Conversation

@trueadm

@trueadm trueadm commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Applications that never use effects, refs, Effect Events, Activity or Suspense hides, controlled selects, transitions, signals or hydration no longer ship the commit, capture, signal-owner and native-read code that serves them. Each piece now installs from the API that creates its work, behind a sticky module flag that hot paths test by truthiness, so oxc folds the code away when the installer is tree-shaken (the drivers.ts pattern from #2246 and #2249).

Every leaf below was reachable but never executed in Chromium precise coverage of benchmarks/js-framework/octane-tsrx and benchmarks/chat-stream/octane-tsrx (main d44d6d9). Its retaining reference was traced through the production bundle's source map before it moved.

Leaf What kept it Installer now
finishEffectRender, deletion walk over effect slots (runEffectCleanupCallback), passive hand-offs (drainPassiveEffects, cancelPostPaint) effectSlots !== null and passive queue lengths: runtime data EFFECT_HOOKS, set by installEffectDrivers (the only creator of effect slots)
commitEffects slow path, drainCommitRefs, drainEffectEventCommitActions, finishEffectCommit, placeCommitRefs, the capture splice/discard loops for effects, events, actions, refs and stores, aborted-mount ref collection (collectVisibleSubtreeRefs) queue lengths: runtime data COMMIT_WORK, set by effect slots, useEffectEvent, enqueueEffectEventCommitAction (Activity, Suspense reveal, linked state, signal control adoption), the Suspense hide action, ref attach/detach and controlled forms
applyRefValue only its own array recursion (oxc keeps self-recursive functions) named function expression
takeSignalRetryVisit, runWithBlockSignalOwner, discardSignalRetryItem, clearSignalRetryOwners, retireRendererSignalOwner renderOwner?.signalOwner !== undefined: runtime data prefix signalDocumentEnabled || registerRootOptions: makeRoot is the only RootRenderOwner constructor, and only the signal document or an options root can give it an owner
event authority (setEventHandler owner branch, queueEventOwner, fireEventSlot's owner frame, runWithSignalOwner, currentExplicitSignalOwner), retireUnownedSignalScope a cycle: the recording gate read synchronousOwner, which runWithSignalOwner writes, which dispatch referenced, which recording gated explicitSignalOwners, set only by the public owner APIs; the renderer re-enters a recorded owner through runInSignalOwner, which leaves it unwritten
beginNativeEventBatch, closeNativeEventBatch, beginNativeBatch/endNativeBatch/runNativeBatch callers beginNativeBatch folded to return null, but folded return values never reach callers call sites test nativeBatchHooks (registered once by the signal engine)
promotePendingSignals its queue resets itself, and any write blocks folding TRANSITION_ROOT_DRIVER, which installs the pending-signal host
suspense commit publication, presentation/host-event transfer, isAdoptionControl brand check runtime data PUBLISH_SUSPENSE_COMMIT, hydrationStarted

Deliberately left in place (reachable from paths every app can take):

  • drainLayoutUpdates: a commit's DOM writes can dispatch native events synchronously (blur on removal), whose handlers schedule work for the same flush.
  • reportEffectError: commit-phase errors from compiled bag ops route through it.
  • renderCleanups and nested-capture renderedBlocks in the capture splice/discard: 14 producers across hydration, signals, Suspense and the cross-renderer scheduleRenderCleanup API. A follow-up could funnel them through one installer.
  • isRendererHydrationStyle: hydration-free-gates.mjs documents it as a client path.
  • drainHydrationRenderPhaseUpdates: the first mount's render-phase update drain (also documented there).
  • captureRenderPhaseUpdate, blockIsAncestorOf, runEffectLifecycleCallback: generic render-phase updates, tree walks and scope cleanups.
  • stopPropagation emulation, per the task: handlers in dependencies can call it.

Bundle size

node benchmarks/bundle-size/run.mjs octane-tsrx octane-jsx in this checkout and in a main d44d6d9 checkout, same session (client JS, gzip-9; oxc minifier unless noted):

Row main this PR Δ
js-framework tsrx js_gzip 28,883 26,587 −2,296 (−7.95%)
js-framework tsrx js_raw 85,354 77,614 −7,740 (−9.07%)
chat-stream tsrx chat_js_gzip 33,135 30,905 −2,230 (−6.73%)
todomvc tsrx todo_js_gzip 33,426 31,154 −2,272 (−6.80%)
weather tsrx weather_js_gzip 44,453 43,486 −967 (−2.18%)
threadline (oxc) 49,638 48,642 −996 (−2.01%)
js-framework jsx js_gzip 53,287 51,748 −1,539 (−2.89%)
bindings 229,452 229,245 −207
pagecraft (oxc) 172,375 172,180 −195
wayfinder 119,481 119,432 −49
shell (hydrating, signals, every feature) 95,673 95,833 +160 (+0.17%)
shell_client 77,525 77,587 +62
threadline (esbuild) 59,042 59,166 +124
pagecraft (esbuild) 188,505 188,650 +145

Examples built with Vite's default minifier (vite build, client JS summed): relay 54,149 → 53,162 (−987), cartlane 97,661 → 97,362 (−299), wayfinder 119,481 → 119,432 (−49), signal-chat 156,798 → 156,996 (+198, +0.13%).

After merging main 8f5d432 (#2256, render rollback behind ROOT_ROLLBACK), run.mjs octane-tsrx against an 8f5d432 checkout, same session, gzip: js-framework 26,358 → 24,100 (−2,258, −8.57%), chat-stream 30,497 → 28,293 (−2,204, −7.23%), todomvc −2,230, threadline (oxc) −1,021, weather −939, bindings −228, pagecraft (oxc) −190, wayfinder −60; shell +188, shell_client +71, threadline (esbuild) +175, pagecraft (esbuild) +161. With #2256's ROOT_ROLLBACK guard on discardFrontierBlock, chat-stream also drops signalRetryBoundary, which the gate list now includes.

The CI benchmark report on this PR agrees with these rows and adds the public-import reachability scenarios: 81 values shrink (cli-spa-starter −2,085 B gzip, root-static-specialized −2,087, root-static −2,054, root-chained-jsx −2,034); 26 grow: the every-feature hydrating split-shell (+249 gzip), split-shell-runtime (+233), split-shell-signals (+20), the esbuild-minified binding scenarios (+119 to +151), and server-render (+7, the runWithSignalOwner/runInSignalOwner split). Its js-framework work counters are all −7.

The growth rows are expected: an application that installs every feature keeps all the gated code plus the gates and installers (about 335 B raw in the shell, the largest piece being the 38 B runWithSignalOwner/runInSignalOwner split), and esbuild never folds a never-written flag, so its rows pay for the gates without the savings.

Performance

Same session, base = main d44d6d9 checkout with its own install, alternating base/head.

  • js-framework pair.mjs, 30 pairs, run twice. Work counters (the CI gate): every operation makes 7 fewer production calls in both dialects (e.g. tsrx calls_update 2,975 → 2,968, calls_select 76 → 69); DOM mutations identical; all 40 counters identical between the two runs. Wall time, second run: every head/base median within ±3% (tsrx 0.982–1.016, jsx 0.976–1.000). The first run's jsx clear 1.202 [1.123, 1.223] did not reproduce (0.994 [0.988, 0.996]); nothing on that path changed beyond three module-flag reads per row.
  • effectful-list (effects and a shared callback ref on every row), 6 rounds, head harness driving both trees, order swapped each round: geomean of per-round median ratios tsrx 0.999, jsx 1.001; every op's pooled-mean ratio within ±3% except update_nodeps (3 µs, at the timer floor). Its effect/ref counter gate passed on every round for both trees.
  • dbmon, 6 rounds: tsrx every op median 1.000 (geomean 1.000); jsx geomean 1.024, every deviation one 0.1 ms timer step; pooled means 0.988–1.023, each per-round range straddling 1.0.
  • signal-favoring, 6 rounds: geomean 1.0065, pooled-mean geomean 0.9994; mount 3.83 → 3.86 ms (one 0.1 ms step).
  • scoped-signals (--quick, 4 alternating rounds via --source-root): Octane rows geomean 1.0157 with log-sd 0.087; the unchanged alien-signals control rows in the same runs: 1.0157, log-sd 0.088, so the drift is run noise.
  • app-frame-hydration --base, 30 pairs: every paired CI includes 1.0 or lies below it (frame hydrate_cold 0.991 [0.981–1.008], frame-plain longest_task_cold 0.993 [0.989–0.999]); blocks, renders, renderBlock entries and heap bytes identical. Its esbuild client grows +166 B gzip (frame) and +124 (frame-plain), as above.

Hot-path reads are truthiness tests of sticky module flags. The root-owner tests add one flag read to the existing signalDocumentEnabled || test, and signal-free apps skip the owner work entirely (setEventHandler drops from six reads to three, fireEventSlot skips two instanceof checks and a currentSignalOwner() call). Three cold or once-per-scope sites combine two to four flags (runScopeCleanups puts registerRootOptions first).

Validation

  • pnpm format:check: not run repo-wide; pnpm format:files:check on every changed file passes
  • pnpm typecheck: not run repo-wide; pnpm typecheck:files on every changed runtime file passes (the new test shares _server-fixture.ts's existing strict-mode errors with descriptor-host-capability.test.ts)
  • pnpm test: left to CI. Locally: octane project over the related suites (Suspense, hydration, signals, forms, portals, view transitions, effects, refs, Activity, signal owners: 255 files, 9,626 tests on the final commit), the octane-signals project (31 files / 421 tests), and the new file in octane and octane-prod (24 tests), all passing. That run caught a missed producer (enqueueEffectEventCommitAction), now installed and covered.
  • targeted tests: commit-callback-capability.test.ts, a fresh runtime per case (layout, insertion and passive effects, callback and object refs, Effect Events, external store, controlled select, Suspense re-suspend hide, Activity hide/reveal, an external store mounted in a hidden Activity then torn during a commit, explicit owner with and without a carrier). All 13 cases also pass on main. Removing each installer fails its case: COMMIT_WORK from effects (3 cases), EFFECT_HOOKS (4), ref attach (2), Effect Events, controlled forms, the Suspense hide action, commit actions (Activity), the external-store check, runWithSignalOwner's flag, the carrier's flag (1 each).
  • node benchmarks/bundle-size/run.mjs octane-tsrx passes with the new gate, and fails with 'finishEffectRender' when the EFFECT_HOOKS guard is removed; node benchmarks/bundle-size/run-minimal.mjs (every scenario, including the production behaviour snapshots) passes.
  • pnpm sync: no generated changes
  • perf-review: node scripts/perf-review-scan.mjs → no candidates. Hot paths touched: renderBlock/renderBlockInner (per render), setEventHandler (per handler bind), fireEventSlot/dispatchDelegated (per event), unmountScope/runScopeCleanups (per scope unmount), commitEffects/commitRootRenders/spliceOffscreenCapture (per commit). No new fields, allocations, closures or scheduling; each change adds sticky module-flag truthiness reads or removes work. Evidence: js-framework work counters (−7 calls per op, DOM equal) and the timing A/Bs above.
  • concise-code: src +312 −152 (runtime +312 −152; about 60 of the added lines re-indent the setEventHandler owner block and the capture splice loops under their gates). New file: the fresh-runtime test. New exports: COMMIT_WORK, installCommitWork, EFFECT_HOOKS (drivers), explicitSignalOwners, runInSignalOwner (owner-context), each with callers. Alternatives rejected: one driver object holding the commit slow path (needs the same installers plus an indirect call per commit); a single combined signal flag written from signals/ (signals cannot assign a drivers.ts binding, and folding registerRootOptions into event authority would keep the event-owner code in every createRoot-with-options app); gating isAdoptionControl at its 16 call sites instead of inside it (24 B residue accepted). The Fragment-ref install was removed as redundant (every FragmentInstance queues a ref attach); the external-store install stays, since a hidden Activity registers no subscription effect (Bugbot, fixed in da2bc18).

Risk / follow-ups

  • A producer of commit-phase work added later must install COMMIT_WORK; the comment on commitEffects' fast path and on the flag says so, and the fresh-runtime test pattern shows how to pin it.
  • renderCleanups producers (14 sites) could share one installer to drop the remaining capture splice/discard residue (~150 B raw in jsf); follow-up.
  • Applications that use every feature, and esbuild-minified bundles, grow by 0.1–0.2% gzip (table 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.


Note

Medium Risk
Changes touch core commit, unmount, event dispatch, and rollback paths behind new flags; regressions would show up as missing effects/refs or wrong signal owner context, though broad test and bundle reachability gates reduce that risk.

Overview
Effect-free, ref-free apps ship a much smaller Octane client runtime by lazy-installing commit phases, offscreen capture splice work, signal-owner retirement, and native-read/event batches only when the APIs that need them run first.

The runtime adds sticky module flags—COMMIT_WORK, EFFECT_HOOKS, explicitSignalOwners, and guards on TRANSITION_ROOT_DRIVER, hydrationStarted, nativeBatchHooks, and root-owner prefixes—so oxc can drop unreachable bodies when installers never execute. Producers call installCommitWork() (effects, refs, Effect Events, uSES, controlled forms, Suspense/Activity commit actions, etc.); signal dispatch splits runWithSignalOwner from internal runInSignalOwner so renderer-only paths do not pull in the public owner API.

Benchmarks and tests lock this in: run.mjs asserts js-framework and chat-stream octane-tsrx builds retain none of a long list of creator-installed declarations, while feature-heavy Octane targets must still retain each symbol for the source-map oracle; run-minimal.mjs extends effect controls. New commit-callback-capability.test.ts runs fresh runtimes per feature to prove each installer still wires behavior correctly.

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

… creators

Applications that never use effects, refs, Effect Events, Activity or
Suspense hides, controlled selects, transitions, signals or hydration no
longer ship the runtime that serves them:

- Effect slots install EFFECT_HOOKS, which gates effect-render retirement,
  the deletion walk over effect slots and the passive hand-offs.
- Every producer of commit-phase callbacks installs COMMIT_WORK: effect
  slots, Effect Events, commit actions, ref attaches and detaches, and
  controlled forms. Without it a commit takes its fast path outright, and
  the capture splice, discard and aborted-ref collection skip those lists.
- Renderer signal-owner tests read `signalDocumentEnabled || registerRootOptions`
  before `renderOwner.signalOwner`: makeRoot is the only owner constructor,
  and only those two can give a root an owner.
- The public owner APIs set a sticky explicitSignalOwners flag. Event
  authority recording and dispatch test it with the signal binding and
  document flags, and the renderer re-enters recorded owners through
  runInSignalOwner, which leaves the flag unwritten, so the cycle that kept
  them in every bundle folds.
- Native-read batches are gated on the engine's batch-hook registration at
  their call sites; signal promotions on the transition root driver, since
  the promotion queue resets itself and never folds.
- applyRefValue becomes a named function expression; its recursion alone
  kept it.

A fresh-runtime test pins each installer; bundle-size gates assert that the
js-framework and chat-stream builds retain none of these declarations while
the other Octane builds in the run retain each one.

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 28, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
octane-website 8d6cdaa Commit Preview URL

Branch Preview URL
Oct 28 2026, 09:49 AM

@trueadm
trueadm marked this pull request as ready for review October 28, 2026 01:55
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
octane-website-mcp 8d6cdaa Commit Preview URL

Branch Preview URL
Oct 28 2026, 09:47 AM

@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: Hidden stores skip commit work
    • Added installCommitWork() at the store-sync drain initialization in useSyncExternalStore's mount path, so COMMIT_WORK is set even when the companion useEffect is skipped in a hidden Activity subtree.

Create PR

Or push these changes by commenting:

@cursor push 09b67a5972
Preview (09b67a5972)
diff --git a/packages/octane/src/runtime/engine.ts b/packages/octane/src/runtime/engine.ts
--- a/packages/octane/src/runtime/engine.ts
+++ b/packages/octane/src/runtime/engine.ts
@@ -126,6 +126,7 @@
 	MANUAL_HOOK_DRIVER,
 	noop,
 	COMMIT_WORK,
+	installCommitWork,
 	EFFECT_HOOKS,
 } from './drivers.js';
 import {
@@ -4589,6 +4590,7 @@
 	const scope = CURRENT_SCOPE!;
 	let inst = scope.hooks?.get(subs.inst) as StoreInst<T> | undefined;
 	if (inst === undefined) {
+		installCommitWork();
 		drainStoreSyncs = drainQueuedStoreSyncs;
 		// MOUNT — create the stable cell once (useEffectEvent's mount-once pattern).
 		// forceUpdate schedules the block directly (identical to a useState setter,

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

Reviewed by Cursor Bugbot for commit fb41716. Configure here.

Comment thread packages/octane/src/runtime/engine.ts Resolved
…Activity

A store check queued inside a hidden Activity has no accompanying effect
slot: enqueueEffect returns before creating one there. As the first commit
work a runtime saw, its capture splice skipped the check and left the
consumer queued, so after the reveal no later tear check was enqueued.
enqueueStoreSync installs COMMIT_WORK itself again.

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

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Benchmark report

  • 🔴 bundle-size: 38 value(s) increased
  • 🔴 bundle-reachability: 26 value(s) increased

Compares 8f5d43294, the merge commit's first parent with 2b9c29089 on the same runner. Any increase in a js-framework work counter fails this check; byte changes are a report. Wall time is a report: base and head samples alternate in one browser, and an operation is called slower or faster only when the 95% confidence interval of its ratio excludes ±3%. Workflow run

js-framework: 1k/10k row operations

All 20 timed operations (20 without a verdict)
target operation base ms head ms head/base 95% CI
octane-tsrx run 3.267 3.408 +2.8% −6.9% … +8.4% ⚪ within noise
octane-tsrx replace 8.508 8.017 −0.3% −18.5% … +14.7% ⚪ within noise
octane-tsrx add 3.083 2.975 ±0.0% −11.1% … +6.5% ⚪ within noise
octane-tsrx update 0.097 0.099 +3.3% −1.1% … +12.5% ⚪ within noise
octane-tsrx select 0.007 0.007 −3.1% −12.3% … +9.9% ⚪ within noise
octane-tsrx swap 0.022 0.021 −1.4% −5.0% … +7.5% ⚪ within noise
octane-tsrx remove 0.018 0.018 −3.6% −10.2% … +2.3% ⚪ within noise
octane-tsrx runlots 31.650 30.508 +3.5% −8.0% … +9.2% ⚪ within noise
octane-tsrx select_lots 0.009 0.008 −3.3% −12.6% … +2.5% ⚪ within noise
octane-tsrx clear 68.442 70.125 +0.6% −8.0% … +6.8% ⚪ within noise
octane-jsx run 4.958 4.808 −3.2% −13.3% … +2.6% ⚪ within noise
octane-jsx replace 10.358 10.700 −2.1% −15.8% … +14.2% ⚪ within noise
octane-jsx add 4.325 4.108 −2.5% −6.1% … +1.4% ⚪ within noise
octane-jsx update 0.235 0.221 −6.0% −12.2% … +3.8% ⚪ within noise
octane-jsx select 0.122 0.116 +3.1% −14.4% … +25.7% ⚪ within noise
octane-jsx swap 0.189 0.172 −6.7% −14.6% … −0.5% ⚪ within noise
octane-jsx remove 0.157 0.164 +0.5% −7.9% … +25.0% ⚪ within noise
octane-jsx runlots 41.383 41.800 +3.7% −5.6% … +6.8% ⚪ within noise
octane-jsx select_lots 1.506 1.473 +2.0% −4.0% … +14.5% ⚪ within noise
octane-jsx clear 64.250 68.067 +4.6% −1.5% … +10.0% ⚪ within noise

Work counters (an increase fails this check):

target metric base head Δ
octane-tsrx calls_run 18,081 18,074 −7 (−0.0%) 🟢
octane-tsrx calls_replace 22,093 22,086 −7 (−0.0%) 🟢
octane-tsrx calls_add 24,082 24,075 −7 (−0.0%) 🟢
octane-tsrx calls_update 2,975 2,968 −7 (−0.2%) 🟢
octane-tsrx calls_select 76 69 −7 (−9.2%) 🟢
octane-tsrx calls_swap 2,088 2,081 −7 (−0.3%) 🟢
octane-tsrx calls_remove 2,096 2,089 −7 (−0.3%) 🟢
octane-tsrx calls_runlots 180,077 180,070 −7 (−0.0%) 🟢
octane-tsrx calls_select_lots 76 69 −7 (−9.2%) 🟢
octane-tsrx calls_clear 87 80 −7 (−8.0%) 🟢
octane-jsx calls_run 25,115 25,108 −7 (−0.0%) 🟢
octane-jsx calls_replace 29,128 29,121 −7 (−0.0%) 🟢
octane-jsx calls_add 37,117 37,110 −7 (−0.0%) 🟢
octane-jsx calls_update 8,610 8,603 −7 (−0.1%) 🟢
octane-jsx calls_select 8,111 8,104 −7 (−0.1%) 🟢
octane-jsx calls_swap 8,121 8,114 −7 (−0.1%) 🟢
octane-jsx calls_remove 8,125 8,118 −7 (−0.1%) 🟢
octane-jsx calls_runlots 250,111 250,104 −7 (−0.0%) 🟢
octane-jsx calls_select_lots 80,111 80,104 −7 (−0.0%) 🟢
octane-jsx calls_clear 122 115 −7 (−5.7%) 🟢

44 other measured values are unchanged.

Application bundle size (bytes)

target metric base head Δ
octane-tsrx js_raw 77,634 70,146 −7,488 (−9.6%) 🟢
octane-tsrx js_gzip 26,358 24,100 −2,258 (−8.6%) 🟢
octane-tsrx js_brotli 23,834 21,760 −2,074 (−8.7%) 🟢
octane-tsrx app_brotli 2,233 2,235 +2 (+0.1%) 🔴
octane-tsrx fw_raw 70,329 62,841 −7,488 (−10.6%) 🟢
octane-tsrx fw_gzip 23,812 21,554 −2,258 (−9.5%) 🟢
octane-tsrx fw_brotli 21,601 19,525 −2,076 (−9.6%) 🟢
octane-tsrx todo_js_raw 89,877 83,016 −6,861 (−7.6%) 🟢
octane-tsrx todo_js_gzip 30,764 28,534 −2,230 (−7.2%) 🟢
octane-tsrx todo_js_brotli 27,638 25,601 −2,037 (−7.4%) 🟢
octane-tsrx todo_app_gzip 2,677 2,678 +1 (+0.0%) 🔴
octane-tsrx todo_app_brotli 2,267 2,263 −4 (−0.2%) 🟢
octane-tsrx todo_fw_raw 83,928 77,067 −6,861 (−8.2%) 🟢
octane-tsrx todo_fw_gzip 28,087 25,856 −2,231 (−7.9%) 🟢
octane-tsrx todo_fw_brotli 25,371 23,338 −2,033 (−8.0%) 🟢
octane-tsrx chat_js_raw 88,630 81,768 −6,862 (−7.7%) 🟢
octane-tsrx chat_js_gzip 30,497 28,293 −2,204 (−7.2%) 🟢
octane-tsrx chat_js_brotli 27,505 25,520 −1,985 (−7.2%) 🟢
octane-tsrx chat_app_brotli 2,729 2,738 +9 (+0.3%) 🔴
octane-tsrx chat_fw_raw 81,815 74,953 −6,862 (−8.4%) 🟢
octane-tsrx chat_fw_gzip 27,384 25,180 −2,204 (−8.0%) 🟢
octane-tsrx chat_fw_brotli 24,776 22,782 −1,994 (−8.0%) 🟢
octane-tsrx weather_js_raw 124,180 120,881 −3,299 (−2.7%) 🟢
octane-tsrx weather_js_gzip 41,730 40,791 −939 (−2.3%) 🟢
octane-tsrx weather_js_brotli 37,102 36,255 −847 (−2.3%) 🟢
octane-tsrx weather_app_brotli 7,130 7,131 +1 (+0.0%) 🔴
octane-tsrx weather_fw_raw 100,197 96,898 −3,299 (−3.3%) 🟢
octane-tsrx weather_fw_gzip 33,346 32,407 −939 (−2.8%) 🟢
octane-tsrx weather_fw_brotli 29,972 29,124 −848 (−2.8%) 🟢
octane-tsrx bindings_js_raw 681,807 680,863 −944 (−0.1%) 🟢
octane-tsrx bindings_js_gzip 225,941 225,713 −228 (−0.1%) 🟢
octane-tsrx bindings_js_brotli 192,606 192,449 −157 (−0.1%) 🟢
octane-tsrx bindings_app_gzip 118,654 118,656 +2 (+0.0%) 🔴
octane-tsrx bindings_app_brotli 98,536 98,582 +46 (+0.0%) 🔴
octane-tsrx bindings_fw_raw 323,863 322,919 −944 (−0.3%) 🟢
octane-tsrx bindings_fw_gzip 107,287 107,057 −230 (−0.2%) 🟢
octane-tsrx bindings_fw_brotli 94,070 93,867 −203 (−0.2%) 🟢
octane-tsrx shell_js_raw 293,702 294,037 +335 (+0.1%) 🔴
octane-tsrx shell_js_gzip 95,779 95,967 +188 (+0.2%) 🔴
octane-tsrx shell_js_brotli 83,426 83,545 +119 (+0.1%) 🔴
octane-tsrx shell_app_gzip 1,154 1,152 −2 (−0.2%) 🟢
octane-tsrx shell_app_brotli 1,035 1,010 −25 (−2.4%) 🟢
octane-tsrx shell_fw_raw 291,803 292,138 +335 (+0.1%) 🔴
octane-tsrx shell_fw_gzip 94,625 94,815 +190 (+0.2%) 🔴
octane-tsrx shell_fw_brotli 82,391 82,535 +144 (+0.2%) 🔴
octane-tsrx shell_client_js_raw 238,840 238,687 −153 (−0.1%) 🟢
octane-tsrx shell_client_js_gzip 77,678 77,749 +71 (+0.1%) 🔴
octane-tsrx shell_client_js_brotli 68,220 68,446 +226 (+0.3%) 🔴
octane-tsrx shell_client_app_gzip 1,159 1,156 −3 (−0.3%) 🟢
octane-tsrx shell_client_app_brotli 1,014 1,032 +18 (+1.8%) 🔴
octane-tsrx shell_client_fw_raw 236,933 236,780 −153 (−0.1%) 🟢
octane-tsrx shell_client_fw_gzip 76,519 76,593 +74 (+0.1%) 🔴
octane-tsrx shell_client_fw_brotli 67,206 67,414 +208 (+0.3%) 🔴
octane-tsrx wayfinder_js_raw 362,983 362,596 −387 (−0.1%) 🟢
octane-tsrx wayfinder_js_gzip 119,793 119,733 −60 (−0.1%) 🟢
octane-tsrx wayfinder_js_brotli 103,793 103,819 +26 (+0.0%) 🔴
octane-tsrx threadline_oxc_js_raw 140,465 137,036 −3,429 (−2.4%) 🟢
octane-tsrx threadline_oxc_js_gzip 46,924 45,903 −1,021 (−2.2%) 🟢
octane-tsrx threadline_oxc_js_brotli 41,319 40,536 −783 (−1.9%) 🟢
octane-tsrx threadline_esbuild_js_raw 174,877 175,259 +382 (+0.2%) 🔴
octane-tsrx threadline_esbuild_js_gzip 59,131 59,306 +175 (+0.3%) 🔴
octane-tsrx threadline_esbuild_js_brotli 52,198 52,220 +22 (+0.0%) 🔴
octane-tsrx pagecraft_oxc_js_raw 547,539 546,679 −860 (−0.2%) 🟢
octane-tsrx pagecraft_oxc_js_gzip 172,553 172,363 −190 (−0.1%) 🟢
octane-tsrx pagecraft_oxc_js_brotli 146,696 146,556 −140 (−0.1%) 🟢
octane-tsrx pagecraft_esbuild_js_raw 581,716 582,108 +392 (+0.1%) 🔴
octane-tsrx pagecraft_esbuild_js_gzip 188,659 188,820 +161 (+0.1%) 🔴
octane-tsrx pagecraft_esbuild_js_brotli 160,414 160,661 +247 (+0.2%) 🔴
octane-tsrx full_fw_raw 535,395 534,962 −433 (−0.1%) 🟢
octane-tsrx full_fw_gzip 168,033 168,016 −17 (−0.0%) 🟢
octane-tsrx full_fw_brotli 142,875 142,881 +6 (+0.0%) 🔴
octane-jsx js_raw 153,438 148,436 −5,002 (−3.3%) 🟢
octane-jsx js_gzip 50,193 48,760 −1,433 (−2.9%) 🟢
octane-jsx js_brotli 44,481 43,263 −1,218 (−2.7%) 🟢
octane-jsx app_gzip 3,511 3,512 +1 (+0.0%) 🔴
octane-jsx app_brotli 2,890 2,898 +8 (+0.3%) 🔴
octane-jsx fw_raw 142,638 137,636 −5,002 (−3.5%) 🟢
octane-jsx fw_gzip 46,682 45,248 −1,434 (−3.1%) 🟢
octane-jsx fw_brotli 41,591 40,365 −1,226 (−2.9%) 🟢
octane-jsx shell_js_raw 337,775 338,149 +374 (+0.1%) 🔴
octane-jsx shell_js_gzip 110,237 110,392 +155 (+0.1%) 🔴
octane-jsx shell_js_brotli 95,812 95,950 +138 (+0.1%) 🔴
octane-jsx shell_app_gzip 772 771 −1 (−0.1%) 🟢
octane-jsx shell_app_brotli 667 666 −1 (−0.1%) 🟢
octane-jsx shell_fw_raw 336,672 337,046 +374 (+0.1%) 🔴
octane-jsx shell_fw_gzip 109,465 109,621 +156 (+0.1%) 🔴
octane-jsx shell_fw_brotli 95,145 95,284 +139 (+0.1%) 🔴
octane-jsx shell_client_js_raw 282,919 282,816 −103 (−0.0%) 🟢
octane-jsx shell_client_js_gzip 91,767 91,812 +45 (+0.0%) 🔴
octane-jsx shell_client_js_brotli 80,383 80,446 +63 (+0.1%) 🔴
octane-jsx shell_client_app_gzip 774 773 −1 (−0.1%) 🟢
octane-jsx shell_client_app_brotli 676 672 −4 (−0.6%) 🟢
octane-jsx shell_client_fw_raw 281,808 281,705 −103 (−0.0%) 🟢
octane-jsx shell_client_fw_gzip 90,993 91,039 +46 (+0.1%) 🔴
octane-jsx shell_client_fw_brotli 79,707 79,774 +67 (+0.1%) 🔴
octane-jsx full_fw_raw 535,395 534,962 −433 (−0.1%) 🟢
octane-jsx full_fw_gzip 168,033 168,016 −17 (−0.0%) 🟢
octane-jsx full_fw_brotli 142,875 142,881 +6 (+0.0%) 🔴

13 other measured values are unchanged.

Public-import reachability bundles (bytes)

target metric base head Δ
cli-spa-starter raw 70,780 64,102 −6,678 (−9.4%) 🟢
cli-spa-starter gzip 24,734 22,978 −1,756 (−7.1%) 🟢
cli-spa-starter brotli 22,249 20,429 −1,820 (−8.2%) 🟢
root-static-specialized raw 47,286 40,668 −6,618 (−14.0%) 🟢
root-static-specialized gzip 16,228 14,230 −1,998 (−12.3%) 🟢
root-static-specialized brotli 14,769 12,935 −1,834 (−12.4%) 🟢
root-chained-jsx raw 48,653 42,040 −6,613 (−13.6%) 🟢
root-chained-jsx gzip 16,736 14,756 −1,980 (−11.8%) 🟢
root-chained-jsx brotli 15,264 13,426 −1,838 (−12.0%) 🟢
root-static raw 84,799 78,122 −6,677 (−7.9%) 🟢
root-static gzip 27,978 25,942 −2,036 (−7.3%) 🟢
root-static brotli 25,244 23,408 −1,836 (−7.3%) 🟢
root-static-local raw 47,186 40,568 −6,618 (−14.0%) 🟢
root-static-local gzip 16,175 14,169 −2,006 (−12.4%) 🟢
root-static-local brotli 14,729 12,898 −1,831 (−12.4%) 🟢
root-callback-local raw 49,068 42,391 −6,677 (−13.6%) 🟢
root-callback-local gzip 16,830 14,845 −1,985 (−11.8%) 🟢
root-callback-local brotli 15,331 13,509 −1,822 (−11.9%) 🟢
hooks-state raw 57,086 52,593 −4,493 (−7.9%) 🟢
hooks-state gzip 19,569 18,379 −1,190 (−6.1%) 🟢
hooks-state brotli 17,794 16,717 −1,077 (−6.1%) 🟢
signal-counter raw 111,108 107,923 −3,185 (−2.9%) 🟢
signal-counter gzip 36,727 35,688 −1,039 (−2.8%) 🟢
signal-counter brotli 33,203 32,244 −959 (−2.9%) 🟢
signal-instance-derived raw 127,180 123,994 −3,186 (−2.5%) 🟢
signal-instance-derived gzip 41,315 40,240 −1,075 (−2.6%) 🟢
signal-instance-derived brotli 37,302 36,334 −968 (−2.6%) 🟢
prop-attributes raw 54,444 47,076 −7,368 (−13.5%) 🟢
prop-attributes gzip 18,772 16,568 −2,204 (−11.7%) 🟢
prop-attributes brotli 17,175 15,063 −2,112 (−12.3%) 🟢
context raw 64,541 57,239 −7,302 (−11.3%) 🟢
context gzip 21,759 19,542 −2,217 (−10.2%) 🟢
context brotli 19,714 17,701 −2,013 (−10.2%) 🟢
memo-context raw 132,006 127,055 −4,951 (−3.8%) 🟢
memo-context gzip 43,492 42,123 −1,369 (−3.1%) 🟢
memo-context brotli 38,795 37,573 −1,222 (−3.1%) 🟢
controlled-input raw 58,113 50,671 −7,442 (−12.8%) 🟢
controlled-input gzip 19,790 17,546 −2,244 (−11.3%) 🟢
controlled-input brotli 17,961 15,929 −2,032 (−11.3%) 🟢
hydrate-root raw 103,429 100,051 −3,378 (−3.3%) 🟢
hydrate-root gzip 34,759 33,648 −1,111 (−3.2%) 🟢
hydrate-root brotli 31,131 30,055 −1,076 (−3.5%) 🟢
deferred-hydration raw 186,698 186,095 −603 (−0.3%) 🟢
deferred-hydration gzip 61,028 60,905 −123 (−0.2%) 🟢
deferred-hydration brotli 53,315 53,258 −57 (−0.1%) 🟢
hydrate-frame raw 344,136 343,184 −952 (−0.3%) 🟢
hydrate-frame gzip 110,872 110,587 −285 (−0.3%) 🟢
hydrate-frame brotli 96,541 96,301 −240 (−0.2%) 🟢
suspense-transition raw 159,463 154,930 −4,533 (−2.8%) 🟢
suspense-transition gzip 51,767 50,554 −1,213 (−2.3%) 🟢
suspense-transition brotli 45,691 44,682 −1,009 (−2.2%) 🟢
render-errors raw 112,965 110,227 −2,738 (−2.4%) 🟢
render-errors gzip 36,718 35,839 −879 (−2.4%) 🟢
render-errors brotli 33,147 32,235 −912 (−2.8%) 🟢
server-render raw 62,283 62,315 +32 (+0.1%) 🔴
server-render gzip 21,638 21,645 +7 (+0.0%) 🔴
server-render brotli 19,597 19,580 −17 (−0.1%) 🟢
component-owned-effects raw 50,442 43,177 −7,265 (−14.4%) 🟢
component-owned-effects gzip 17,332 15,125 −2,207 (−12.7%) 🟢
component-owned-effects brotli 15,835 13,810 −2,025 (−12.8%) 🟢
descriptor-children raw 148,738 143,973 −4,765 (−3.2%) 🟢
descriptor-children gzip 48,514 47,141 −1,373 (−2.8%) 🟢
descriptor-children brotli 43,259 42,135 −1,124 (−2.6%) 🟢
renderable-holes raw 91,840 85,115 −6,725 (−7.3%) 🟢
renderable-holes gzip 30,201 28,199 −2,002 (−6.6%) 🟢
renderable-holes brotli 27,165 25,406 −1,759 (−6.5%) 🟢
binding-hooks raw 59,522 55,067 −4,455 (−7.5%) 🟢
binding-hooks gzip 20,539 19,347 −1,192 (−5.8%) 🟢
binding-hooks brotli 18,708 17,602 −1,106 (−5.9%) 🟢
split-shell raw 395,592 395,997 +405 (+0.1%) 🔴
split-shell gzip 129,156 129,371 +215 (+0.2%) 🔴
split-shell brotli 112,733 112,828 +95 (+0.1%) 🔴
split-shell-runtime raw 323,062 323,398 +336 (+0.1%) 🔴
split-shell-runtime gzip 104,209 104,403 +194 (+0.2%) 🔴
split-shell-runtime brotli 90,222 90,258 +36 (+0.0%) 🔴
split-shell-signals raw 62,918 62,987 +69 (+0.1%) 🔴
split-shell-signals gzip 20,053 20,073 +20 (+0.1%) 🔴
split-shell-signals brotli 18,219 18,279 +60 (+0.3%) 🔴
binding-base-ui-vite raw 161,483 156,717 −4,766 (−3.0%) 🟢
binding-base-ui-vite gzip 52,872 51,493 −1,379 (−2.6%) 🟢
binding-base-ui-vite brotli 47,000 45,871 −1,129 (−2.4%) 🟢
binding-base-ui-esbuild raw 199,888 200,249 +361 (+0.2%) 🔴
binding-base-ui-esbuild gzip 67,421 67,552 +131 (+0.2%) 🔴
binding-base-ui-esbuild brotli 59,633 59,760 +127 (+0.2%) 🔴
binding-radix-vite raw 158,833 154,072 −4,761 (−3.0%) 🟢
binding-radix-vite gzip 51,842 50,484 −1,358 (−2.6%) 🟢
binding-radix-vite brotli 46,141 44,952 −1,189 (−2.6%) 🟢
binding-radix-esbuild raw 197,409 197,770 +361 (+0.2%) 🔴
binding-radix-esbuild gzip 66,519 66,676 +157 (+0.2%) 🔴
binding-radix-esbuild brotli 58,844 59,000 +156 (+0.3%) 🔴
binding-mantine-hooks-vite raw 58,489 51,128 −7,361 (−12.6%) 🟢
binding-mantine-hooks-vite gzip 20,155 17,960 −2,195 (−10.9%) 🟢
binding-mantine-hooks-vite brotli 18,380 16,313 −2,067 (−11.2%) 🟢
binding-mantine-hooks-esbuild raw 79,539 79,842 +303 (+0.4%) 🔴
binding-mantine-hooks-esbuild gzip 28,268 28,422 +154 (+0.5%) 🔴
binding-mantine-hooks-esbuild brotli 25,529 25,614 +85 (+0.3%) 🔴
binding-apollo-client-vite raw 307,559 302,848 −4,711 (−1.5%) 🟢
binding-apollo-client-vite gzip 96,088 94,763 −1,325 (−1.4%) 🟢
binding-apollo-client-vite brotli 85,246 84,136 −1,110 (−1.3%) 🟢
binding-apollo-client-esbuild raw 353,923 354,284 +361 (+0.1%) 🔴
binding-apollo-client-esbuild gzip 115,093 115,212 +119 (+0.1%) 🔴
binding-apollo-client-esbuild brotli 101,547 101,629 +82 (+0.1%) 🔴
binding-usehooks-ts-vite raw 59,270 51,908 −7,362 (−12.4%) 🟢
binding-usehooks-ts-vite gzip 20,412 18,216 −2,196 (−10.8%) 🟢
binding-usehooks-ts-vite brotli 18,593 16,552 −2,041 (−11.0%) 🟢
binding-usehooks-ts-esbuild raw 80,313 80,616 +303 (+0.4%) 🔴
binding-usehooks-ts-esbuild gzip 28,506 28,649 +143 (+0.5%) 🔴
binding-usehooks-ts-esbuild brotli 25,739 25,871 +132 (+0.5%) 🔴

33 other measured values are unchanged.

trueadm and others added 2 commits October 28, 2026 09:44
…d-commit-work

# Conflicts:
#	benchmarks/bundle-size/run.mjs
#	packages/octane/src/runtime/block.ts
#	packages/octane/src/runtime/component-slots.ts
#	packages/octane/src/runtime/engine.ts
#	packages/octane/src/runtime/hooks.ts
#	packages/octane/src/runtime/hydration-presentation.ts
#	packages/octane/src/runtime/refs.ts
#	packages/octane/src/runtime/render.ts
#	packages/octane/src/runtime/suspense.ts
…hat-stream

#2256 now guards discardFrontierBlock's Suspense retry lookup with
ROOT_ROLLBACK, so neither application retains it; the creator-installed
check holds them to that.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@trueadm
trueadm merged commit 53f17bf into main Oct 28, 2026
33 checks passed
@trueadm
trueadm deleted the perf/creator-installed-commit-work branch October 28, 2026 11:30
@github-actions github-actions Bot mentioned this pull request Oct 28, 2026
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