Skip to content

refactor(octane): split runtime.ts into concept modules - #2090

Merged
trueadm merged 11 commits into
nextfrom
refactor/runtime-split
Oct 15, 2026
Merged

trueadm merged 11 commits into
nextfrom
refactor/runtime-split

Conversation

@trueadm

@trueadm trueadm commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Splits packages/octane/src/runtime.ts (51,689 lines) into 36 concept modules under packages/octane/src/runtime/. runtime.ts stays the facade with the same exports.
  • The split is generated by scripts/split-runtime.mjs from scripts/split-runtime.map.json. No statement is hand-edited: each top-level statement moves with its comments, and the only additions are export, the imports it needs, and evaluation-order links.
  • Three small pre-split source commits move cold driver installs and scheduler-state writes behind helpers, so the module that must hold mutually assigned state shrinks from 8,237 to 5,087 declared lines (209 declarations).
  • split-runtime.mjs order chooses the module order gzip compresses best. Every framework gzip row is smaller than unsplit next, and all 40 work counters are identical.

Why

  • runtime.ts is too large to work in; Dominic asked for concept modules.

Changes

  • Tool (scripts/split-runtime.mjs, scripts/split-runtime-order.mjs): works from the TypeScript AST and keeps comments. check enforces five rules before anything is written:

    • write: a let lives with every function that assigns it.
    • fold: drivers sit above every read that oxc folds.
    • inline: constants that Rolldown does not inline at link time sit above their reads.
    • load: module-scope initializers read only their own module, so no bundler order can reach a binding before it is declared.
    • pure: load-time @__NO_SIDE_EFFECTS__ calls stay in the callee's file.

    --suggest places new declarations, order searches the module order, and split emits.

  • Module map: 36 modules. Two have no place in the evaluation chain: types, and profile-probes (profile builds only). The chain order is drivers > signal-owners > refs > engine > effects > view-transition > hooks > use > transitions > context > hydration > portals > block > hydrate-boundary > suspense > render > roots > hydration-presentation > signal-bindings > host-props > elements > diagnostics > component-slots > child-slots > branches > deopt > activity > lists > head > commit > templates > actions > events > forms. Largest: engine (scheduler, root transactions, commit pipeline; 5,087 lines), suspense (3,144), deopt (2,475), render (2,452: the render pass's state and its writers).

  • Evaluation order: each module first names the module before it, and runtime.ts names the last. When a module imports nothing from its predecessor, the link is an empty re-export (export {} from). A bare import draws an esbuild warning, a named one is an unused import, and ESTree printers rewrite import {} from as a bare import. verbatimModuleSyntax keeps these links through every transpile.

  • Engine-shrink commits (runtime +63 −49). Every converted site is cold, meaning once per install, root, boundary arm or root hydration attempt:

    • installEffectDrivers, installManualFormPending, installRootErrorHandlers
    • requestFlush
    • takeClientRootId, requeuePassiveEffect (removes a duplicated block), beginHydratingRootRender

    Sites that run per render, per node or per update keep their inline writes: withSlot, recordContextDependency, createPortal, setFormAction, useEffectEvent, useSyncExternalStore, makeRoot's render closures, and the per-update schedulers.

  • Tooling: the render-writer check, perf-review scan, error-code generator, hydration-free gates, bundle-size runners, redact-audit ledger and nine test files now read runtime.ts plus runtime/*.ts. Harnesses that patch runtime text read benchmarks/lib/client-runtime.mjs, which joins the modules back into one file from the working tree or a git revision. run-minimal writes chunk source maps to BUNDLE_SIZE_MAP_DIR for the order search.

  • Docs: the RuleSync project rule, the skills and CONTRIBUTING.md now point at the concept modules.

  • Re-run procedure:

    1. Drop the last commit and rebase the rest.
    2. node scripts/split-runtime.mjs check --suggest, and review the suggestions until it reports 0 unmapped, 0 stale and 0 violations.
    3. node scripts/split-runtime.mjs order (about 17 minutes).
    4. node scripts/split-runtime.mjs split, and commit the output untouched.

Validation

  • pnpm format:files:check on every changed file
  • pnpm typecheck
  • pnpm ci:workflow:test: 432 tests
  • pnpm render-writes:check: 152 classified writers. pnpm error-codes:check passes.
  • octane: 25,206 passed. octane-prod: 21,386 passed. Both run with the render-write guard and an empty allowlist.
  • octane-signals, -prod, -strong, -node, -profile and -mutations, plus octane-evals, website-unit, rspack-plugin, rsbuild-plugin and vite-plugin: 2,328 passed.
  • octane dist build: imports verified.
  • pnpm sync: no changes.
  • Full pnpm test and the browser projects: left to CI.

Work counters (benchmarks/js-framework/pair.mjs --work-only, unsplit next against this branch): 40 of 40 identical.

Bytes against unsplit next (4ae77f2), raw / gzip:

Row raw gzip
full_fw (octane-tsrx and octane-jsx) +220 −359
shell_fw (run.mjs) +237 −485
shell_client_fw +155 −400
octane-tsrx fw / todo / chat / weather fw −106 / −105 / −104 / +3 −216 / −178 / −226 / −183
octane-jsx fw +24 −328
threadline js (oxc / esbuild) −90 / +34 −361 / −523
pagecraft js (oxc / esbuild) +197 / +195 −284 / −356
wayfinder js +526 −75
bindings fw +196 −3
run-minimal, 30 of 41 rows changed +455 total −7,598 total (rows −797 to +15)

The only run-minimal rows that grow are suspense-transition (+3 gz) and binding-usehooks-ts-esbuild (+15 gz).

shell_ app (measure.mjs):

Variant raw gzip
full +237 −487
nohydrate +155 −401
nosignals +240 −377
base +165 −264
base_hydrate +225 −202

run-hydration-free reports identical retained declarations.

Where the bytes come from:

  • gzip: the module order is the one order chose, scoring shell_ + full surface + every run-minimal Rolldown scenario with equal weights. That search's numbers were measured before rebasing onto next: shell 107,446 → 106,770, full surface 164,403 → 162,892 and run-minimal 896,232 → 892,353 against the mean-position order.
  • raw: the helper functions (about +100 to +150 in hydrating and full-surface bundles), plus module-granular effects. Rolldown inlines constants across modules, and a bundle drops the side-effect statements of modules it doesn't use, as in aria-esbuild (−275).

Cold starts: Vitest cold start for one file went from 7.5–8.1 s to 5.8–6.3 s. Transforming the dev-server client graph went from 3.0 s to 0.9 s. Both were measured before the rebase, under load.

  • perf-review: node scripts/perf-review-scan.mjs --diff on the source commits finds one candidate. runtime.ts requestFlush [microtask-hop] is dismissed: it moves an existing hop, and runs once per root hydration attempt. The split itself is a pure move, and the identical counters and bytes above are its evidence.
  • concise-code: runtime +63 −49 in the source commits, and the generated split adds about 3.4k lines of imports, exports and headers. New files: the two tool modules, the map, benchmarks/lib/client-runtime.mjs with its test, and the 36 modules. Rejected alternatives: per-binding setters (about +500 B raw against grouped installers); also converting the 22 cold install sites that don't shrink engine (bytes without benefit); keeping the mean-position order (+0.3–1.4 kB gzip on full-surface bundles).

Risk / follow-ups

  • Map drift: a declaration added after this lands goes through check --suggest. A new writer of engine state from another concept forces that function into engine.
  • Remaining engine size: engine is still 5,087 lines, because per-render writers of the scheduler and render state can't move without hot-path setters.
  • Bundlers other than Rolldown and esbuild: Rspack and webpack ignore the order links, since the modules are side-effect-free. The load rule keeps them correct, but their driver folding is unmeasured.
  • Dev and tests: cross-module live-binding reads go through namespace getters in Vitest and vite dev only.
  • Transpiling without verbatimModuleSyntax: a consumer that transpiles octane source that way drops the order links. This stays correct, but folding may not hold.
  • Order-dependent harnesses: harnesses that slice runtime text between two declarations break if those declarations land in different modules. The two effect-postorder harnesses now take their helpers by name.

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.

trueadm and others added 11 commits October 15, 2026 14:10
scripts/split-runtime.mjs splits packages/octane/src/runtime.ts into concept
modules under runtime/ from scripts/split-runtime.map.json, leaving runtime.ts
as a facade with the same exports. It works from the TypeScript AST, moves
each top-level statement with its comments unchanged, and adds only exports,
imports, and the evaluation-order imports.

`check` validates the map before anything is written: every declaration
mapped and none stale, a `let` lives with every function that assigns it,
drivers and Rolldown-uninlined constants stay above the reads oxc folds or
inlines, module-scope initializers read only their own module, and load-time
pure calls stay in the callee's module. `--suggest` places new declarations
with the code beside them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Once runtime.ts re-exports concept modules under runtime/, every tool that
reads the runtime's source reads all of them: the render-writer check, the
perf-review scan, error-code generation, the hydration-free gates and size
runners, the redact-audit ledger, and the tests that bundle or scan the
runtime. Each works on both layouts.

Harnesses that patch runtime text and load it in place of runtime.ts read
benchmarks/lib/client-runtime.mjs's joined runtime instead: every module's
statements in evaluation order with runtime.ts's own exports, from the
working tree or a git revision. The effect-postorder harnesses take their
helpers by name rather than by slicing between declarations.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…vers through installers

enqueueEffect, runTransition and the three root factories assigned their
drivers inline, which made each of them a writer of state that lives with
the scheduler. Each now calls an installer declared beside the drivers, on
the same once-per-install path: the first effect slot, the first submit
transition, and root creation. No call is added to a render, node, or update
path, and the drivers keep their truthiness and noop tests.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A root's hydration attempt set the scheduler's flag inline, which made the
381-line hydrateRootWithOutputHandler a writer of scheduler state. It now
calls requestFlush, declared beside the flag. The attempt runs once per root
hydration and once per suspended retry of it, never per render or update;
the per-update schedulers keep setting the flag inline.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… begin hydrating renders through helpers

Four boundary and root paths incremented nextClientRootId inline, two
deferred hydration notifications copied the same passive requeue, and a
root's hydration attempt set ROOT_DISCARD_STAMP after beginning its render.
Each now calls a helper declared beside the state it writes:
takeClientRootId, requeuePassiveEffect and beginHydratingRootRender.

Every one of these paths runs once per root, boundary arm, recovered
Hydrate, or root hydration attempt, never per render, node or update. The
per-render writes of the same state stay inline.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
`node scripts/split-runtime.mjs order` writes the split in place, builds the
shell_ app's framework chunk, the full-surface ceiling and every Rolldown
scenario of run-minimal.mjs with source maps, then restores runtime.ts. It
cuts each chunk into the runs each module emitted and anneals over the module
orders the map's constraints permit, scoring each by re-sequencing those runs
and gzipping. Every permitted order keeps the same code, so only compression
moves. The best of four seeded runs is written into the map's module order.

run-minimal.mjs writes each Rolldown scenario's chunk and source map to
BUNDLE_SIZE_MAP_DIR when it is set. The tool now formats the map it writes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
With the cold driver installs and scheduler-state writes behind helpers, the
module that must hold mutually assigned state shrinks from 8,237 to 5,179
declared lines. The render pass's state and its writers get their own render
module, hydrateRootWithOutputHandler moves to roots, and the module order is
the one `order` found: shell_ framework gzip 107,446 -> 106,770, full surface
164,403 -> 162,892 and run-minimal Rolldown scenarios 896,232 -> 892,353
against the mean-position order.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The plain-module printer parses to ESTree, where `import {} from` and a bare
import are the same node, so it reprinted every order link as a bare import
and its fidelity test failed for the split runtime. An empty re-export prints
back unchanged, draws no esbuild warning or unused-import error, and keeps the
module order in Rolldown and esbuild. The joined runtime follows these links.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
`check --suggest` placed next's new declarations: the module functions that
replaced HydrationCapability's methods go to hydration, the CompiledContext
and Provider children helpers to context, the commit-time marker and writer
helpers with the concept that calls them. claimedHeadMarker moves to head,
beside the claims it reads, which breaks a head/roots order cycle. The module
order is the one `order` found.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Generated, not edited: `node scripts/split-runtime.mjs split` on runtime.ts at
the previous commit with scripts/split-runtime.map.json. runtime.ts keeps its
exports and re-exports 36 modules under runtime/; every statement moved
unchanged with its comments. Regenerate this commit rather than editing it:
drop it, rebase the commits before it, run `check --suggest`, `order`, then
`split`.

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

cursor Bot commented Oct 15, 2026

Copy link
Copy Markdown

This PR is too large for Bugbot to review. It changes 98,344 lines and 4,049,930 characters. Split the change into smaller pull requests to get a review.

@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent refactor PR: internal restructuring, no behavior change labels Oct 15, 2026
@trueadm
trueadm marked this pull request as ready for review October 15, 2026 13:51

@domgan-oai domgan-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed f7e8fb8 against 4ae77f2. I found no blocking runtime correctness regression; one nonblocking maintenance clarification is inline.

The concept split addresses the oversized runtime directly. Writer co-location and the small installer extractions preserve the existing state model without introducing hot-path setter wrappers. Regenerating the split in memory from the pre-split parent reproduced all 37 files byte-for-byte: 2,170 declarations, zero unmapped/stale entries, and zero reported invariant violations.

Validation: 42 focused splitter/tooling tests and all four production-profile-bundle tests passed, as did the error-code and 152-writer audits. A separate Rolldown/Oxc production profiling bundle rendered successfully with the expected DOM counters. Three affected benchmark harnesses also passed smoke runs.

Limits: focused local checks used cached dependencies. I did not rerun the full workspace/browser suites, published ESM/CommonJS smoke tests, or the comparative performance matrix. Some current-head CI jobs are still running. Benchmarks that reconstruct a single runtime source file should be treated separately from measurements of the actual split module graph.

Comment thread scripts/split-runtime.mjs Resolved
@cloudflare-workers-and-pages

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 f7e8fb8 Commit Preview URL

Branch Preview URL
Oct 15 2026, 01:52 PM

@github-actions

Copy link
Copy Markdown
Contributor

Benchmark report

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

Compares 4ae77f2f0, the merge commit's first parent with c08ae241f 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 4.742 4.800 +7.1% −9.4% … +38.6% ⚪ within noise
octane-tsrx replace 14.000 13.608 −5.0% −20.6% … +13.3% ⚪ within noise
octane-tsrx add 5.483 5.317 −3.1% −14.5% … +7.7% ⚪ within noise
octane-tsrx update 0.134 0.136 −0.2% −4.8% … +10.6% ⚪ within noise
octane-tsrx select 0.008 0.009 +6.2% −2.7% … +13.8% ⚪ within noise
octane-tsrx swap 0.028 0.028 +2.1% −8.3% … +9.5% ⚪ within noise
octane-tsrx remove 0.026 0.025 −0.1% −8.2% … +6.6% ⚪ within noise
octane-tsrx runlots 43.142 43.692 −0.1% −8.9% … +12.0% ⚪ within noise
octane-tsrx select_lots 0.009 0.009 +0.3% −5.6% … +7.6% ⚪ within noise
octane-tsrx clear 66.042 71.767 +5.3% −1.8% … +15.2% ⚪ within noise
octane-jsx run 4.167 4.350 +7.4% −2.8% … +17.0% ⚪ within noise
octane-jsx replace 8.233 7.492 −3.5% −9.4% … +11.5% ⚪ within noise
octane-jsx add 3.800 3.558 −2.2% −10.0% … +2.8% ⚪ within noise
octane-jsx update 0.232 0.236 +1.5% −2.0% … +4.4% ⚪ within noise
octane-jsx select 0.108 0.116 −2.1% −3.4% … +1.8% ⚪ within noise
octane-jsx swap 0.151 0.153 −1.3% −3.2% … +2.7% ⚪ within noise
octane-jsx remove 0.133 0.133 +0.8% −2.8% … +4.7% ⚪ within noise
octane-jsx runlots 32.717 29.633 −4.9% −7.9% … +1.0% ⚪ within noise
octane-jsx select_lots 0.924 0.938 +0.3% −0.8% … +3.6% ⚪ within noise
octane-jsx clear 43.533 43.883 +2.9% +1.6% … +5.8% ⚪ within noise

All 64 work counters are unchanged.

Application bundle size (bytes)

target metric base head Δ
octane-tsrx js_raw 93,671 93,565 −106 (−0.1%) 🟢
octane-tsrx js_gzip 31,551 31,333 −218 (−0.7%) 🟢
octane-tsrx js_brotli 28,275 28,287 +12 (+0.0%) 🔴
octane-tsrx app_gzip 2,619 2,617 −2 (−0.1%) 🟢
octane-tsrx app_brotli 2,272 2,268 −4 (−0.2%) 🟢
octane-tsrx fw_raw 86,115 86,009 −106 (−0.1%) 🟢
octane-tsrx fw_gzip 28,932 28,716 −216 (−0.7%) 🟢
octane-tsrx fw_brotli 26,003 26,019 +16 (+0.1%) 🔴
octane-tsrx todo_js_raw 106,509 106,404 −105 (−0.1%) 🟢
octane-tsrx todo_js_gzip 36,173 35,995 −178 (−0.5%) 🟢
octane-tsrx todo_js_brotli 32,223 32,203 −20 (−0.1%) 🟢
octane-tsrx todo_app_brotli 2,332 2,336 +4 (+0.2%) 🔴
octane-tsrx todo_fw_raw 100,268 100,163 −105 (−0.1%) 🟢
octane-tsrx todo_fw_gzip 33,394 33,216 −178 (−0.5%) 🟢
octane-tsrx todo_fw_brotli 29,891 29,867 −24 (−0.1%) 🟢
octane-tsrx chat_js_raw 105,359 105,255 −104 (−0.1%) 🟢
octane-tsrx chat_js_gzip 35,973 35,732 −241 (−0.7%) 🟢
octane-tsrx chat_js_brotli 32,129 32,031 −98 (−0.3%) 🟢
octane-tsrx chat_app_gzip 3,225 3,210 −15 (−0.5%) 🟢
octane-tsrx chat_app_brotli 2,807 2,797 −10 (−0.4%) 🟢
octane-tsrx chat_fw_raw 98,218 98,114 −104 (−0.1%) 🟢
octane-tsrx chat_fw_gzip 32,748 32,522 −226 (−0.7%) 🟢
octane-tsrx chat_fw_brotli 29,322 29,234 −88 (−0.3%) 🟢
octane-tsrx weather_js_raw 143,015 143,023 +8 (+0.0%) 🔴
octane-tsrx weather_js_gzip 47,548 47,339 −209 (−0.4%) 🟢
octane-tsrx weather_js_brotli 42,068 42,040 −28 (−0.1%) 🟢
octane-tsrx weather_app_raw 25,082 25,087 +5 (+0.0%) 🔴
octane-tsrx weather_app_gzip 8,650 8,624 −26 (−0.3%) 🟢
octane-tsrx weather_app_brotli 7,324 7,329 +5 (+0.1%) 🔴
octane-tsrx weather_fw_raw 117,933 117,936 +3 (+0.0%) 🔴
octane-tsrx weather_fw_gzip 38,898 38,715 −183 (−0.5%) 🟢
octane-tsrx weather_fw_brotli 34,744 34,711 −33 (−0.1%) 🟢
octane-tsrx bindings_js_raw 685,218 685,281 +63 (+0.0%) 🔴
octane-tsrx bindings_js_gzip 226,493 226,456 −37 (−0.0%) 🟢
octane-tsrx bindings_js_brotli 192,771 192,857 +86 (+0.0%) 🔴
octane-tsrx bindings_app_raw 354,315 354,182 −133 (−0.0%) 🟢
octane-tsrx bindings_app_gzip 116,999 116,965 −34 (−0.0%) 🟢
octane-tsrx bindings_app_brotli 97,014 97,156 +142 (+0.1%) 🔴
octane-tsrx bindings_fw_raw 330,903 331,099 +196 (+0.1%) 🔴
octane-tsrx bindings_fw_gzip 109,494 109,491 −3 (−0.0%) 🟢
octane-tsrx bindings_fw_brotli 95,757 95,701 −56 (−0.1%) 🟢
octane-tsrx wayfinder_js_raw 437,944 438,470 +526 (+0.1%) 🔴
octane-tsrx wayfinder_js_gzip 144,869 144,794 −75 (−0.1%) 🟢
octane-tsrx wayfinder_js_brotli 125,908 126,433 +525 (+0.4%) 🔴
octane-tsrx threadline_oxc_js_raw 160,706 160,616 −90 (−0.1%) 🟢
octane-tsrx threadline_oxc_js_gzip 53,221 52,860 −361 (−0.7%) 🟢
octane-tsrx threadline_oxc_js_brotli 46,542 46,455 −87 (−0.2%) 🟢
octane-tsrx threadline_esbuild_js_raw 178,601 178,635 +34 (+0.0%) 🔴
octane-tsrx threadline_esbuild_js_gzip 60,319 59,796 −523 (−0.9%) 🟢
octane-tsrx threadline_esbuild_js_brotli 52,744 52,629 −115 (−0.2%) 🟢
octane-tsrx pagecraft_oxc_js_raw 544,364 544,561 +197 (+0.0%) 🔴
octane-tsrx pagecraft_oxc_js_gzip 171,565 171,281 −284 (−0.2%) 🟢
octane-tsrx pagecraft_oxc_js_brotli 145,340 145,353 +13 (+0.0%) 🔴
octane-tsrx pagecraft_esbuild_js_raw 576,823 577,018 +195 (+0.0%) 🔴
octane-tsrx pagecraft_esbuild_js_gzip 186,925 186,569 −356 (−0.2%) 🟢
octane-tsrx pagecraft_esbuild_js_brotli 158,779 158,588 −191 (−0.1%) 🟢
octane-tsrx full_fw_raw 522,513 522,733 +220 (+0.0%) 🔴
octane-tsrx full_fw_gzip 163,537 163,178 −359 (−0.2%) 🟢
octane-tsrx full_fw_brotli 138,682 138,796 +114 (+0.1%) 🔴
octane-jsx js_raw 169,096 169,120 +24 (+0.0%) 🔴
octane-jsx js_gzip 55,431 55,100 −331 (−0.6%) 🟢
octane-jsx js_brotli 48,661 48,603 −58 (−0.1%) 🟢
octane-jsx app_gzip 3,584 3,581 −3 (−0.1%) 🟢
octane-jsx app_brotli 2,925 2,889 −36 (−1.2%) 🟢
octane-jsx fw_raw 158,037 158,061 +24 (+0.0%) 🔴
octane-jsx fw_gzip 51,847 51,519 −328 (−0.6%) 🟢
octane-jsx fw_brotli 45,736 45,714 −22 (−0.0%) 🟢
octane-jsx shell_js_raw 327,046 327,283 +237 (+0.1%) 🔴
octane-jsx shell_js_gzip 107,135 106,645 −490 (−0.5%) 🟢
octane-jsx shell_js_brotli 92,620 92,578 −42 (−0.0%) 🟢
octane-jsx shell_app_gzip 770 765 −5 (−0.6%) 🟢
octane-jsx shell_app_brotli 668 655 −13 (−1.9%) 🟢
octane-jsx shell_fw_raw 325,953 326,190 +237 (+0.1%) 🔴
octane-jsx shell_fw_gzip 106,365 105,880 −485 (−0.5%) 🟢
octane-jsx shell_fw_brotli 91,952 91,923 −29 (−0.0%) 🟢
octane-jsx shell_client_js_raw 278,594 278,749 +155 (+0.1%) 🔴
octane-jsx shell_client_js_gzip 90,691 90,294 −397 (−0.4%) 🟢
octane-jsx shell_client_js_brotli 79,058 78,985 −73 (−0.1%) 🟢
octane-jsx shell_client_app_gzip 764 767 +3 (+0.4%) 🔴
octane-jsx shell_client_app_brotli 667 660 −7 (−1.0%) 🟢
octane-jsx shell_client_fw_raw 277,493 277,648 +155 (+0.1%) 🔴
octane-jsx shell_client_fw_gzip 89,927 89,527 −400 (−0.4%) 🟢
octane-jsx shell_client_fw_brotli 78,391 78,325 −66 (−0.1%) 🟢
octane-jsx full_fw_raw 522,513 522,733 +220 (+0.0%) 🔴
octane-jsx full_fw_gzip 163,537 163,178 −359 (−0.2%) 🟢
octane-jsx full_fw_brotli 138,682 138,796 +114 (+0.1%) 🔴

7 other measured values are unchanged.

Public-import reachability bundles (bytes)

target metric base head Δ
cli-spa-starter raw 85,952 85,850 −102 (−0.1%) 🟢
cli-spa-starter gzip 29,756 29,525 −231 (−0.8%) 🟢
cli-spa-starter brotli 26,512 26,430 −82 (−0.3%) 🟢
root-static-specialized raw 57,229 57,141 −88 (−0.2%) 🟢
root-static-specialized gzip 19,570 19,381 −189 (−1.0%) 🟢
root-static-specialized brotli 17,724 17,642 −82 (−0.5%) 🟢
root-chained-jsx raw 59,371 59,282 −89 (−0.1%) 🟢
root-chained-jsx gzip 20,284 20,097 −187 (−0.9%) 🟢
root-chained-jsx brotli 18,366 18,313 −53 (−0.3%) 🟢
root-static raw 144,679 144,698 +19 (+0.0%) 🔴
root-static gzip 47,618 47,262 −356 (−0.7%) 🟢
root-static brotli 42,178 42,074 −104 (−0.2%) 🟢
root-static-local raw 57,131 57,040 −91 (−0.2%) 🟢
root-static-local gzip 19,504 19,335 −169 (−0.9%) 🟢
root-static-local brotli 17,691 17,607 −84 (−0.5%) 🟢
root-callback-local raw 59,788 59,700 −88 (−0.1%) 🟢
root-callback-local gzip 20,386 20,180 −206 (−1.0%) 🟢
root-callback-local brotli 18,461 18,362 −99 (−0.5%) 🟢
hooks-state raw 68,128 68,052 −76 (−0.1%) 🟢
hooks-state gzip 23,211 23,027 −184 (−0.8%) 🟢
hooks-state brotli 20,973 20,913 −60 (−0.3%) 🟢
prop-attributes raw 65,242 65,155 −87 (−0.1%) 🟢
prop-attributes gzip 22,363 22,148 −215 (−1.0%) 🟢
prop-attributes brotli 20,203 20,224 +21 (+0.1%) 🔴
context raw 75,246 75,147 −99 (−0.1%) 🟢
context gzip 25,380 25,196 −184 (−0.7%) 🟢
context brotli 22,865 22,786 −79 (−0.3%) 🟢
hydrate-root raw 96,117 96,114 −3 (−0.0%) 🟢
hydrate-root gzip 32,417 32,328 −89 (−0.3%) 🟢
hydrate-root brotli 28,872 28,834 −38 (−0.1%) 🟢
deferred-hydration raw 180,032 180,118 +86 (+0.0%) 🔴
deferred-hydration gzip 58,773 58,700 −73 (−0.1%) 🟢
deferred-hydration brotli 51,332 51,291 −41 (−0.1%) 🟢
hydrate-frame raw 340,275 340,522 +247 (+0.1%) 🔴
hydrate-frame gzip 109,959 109,349 −610 (−0.6%) 🟢
hydrate-frame brotli 94,917 95,054 +137 (+0.1%) 🔴
suspense-transition raw 119,935 119,986 +51 (+0.0%) 🔴
suspense-transition gzip 39,211 39,214 +3 (+0.0%) 🔴
suspense-transition brotli 34,909 34,862 −47 (−0.1%) 🟢
component-owned-effects raw 61,316 61,227 −89 (−0.1%) 🟢
component-owned-effects gzip 20,938 20,722 −216 (−1.0%) 🟢
component-owned-effects brotli 19,022 18,872 −150 (−0.8%) 🟢
descriptor-children raw 166,341 166,432 +91 (+0.1%) 🔴
descriptor-children gzip 54,416 54,004 −412 (−0.8%) 🟢
descriptor-children brotli 47,930 47,999 +69 (+0.1%) 🔴
binding-hooks raw 70,528 70,453 −75 (−0.1%) 🟢
binding-hooks gzip 24,178 24,047 −131 (−0.5%) 🟢
binding-hooks brotli 21,884 21,806 −78 (−0.4%) 🟢
split-shell raw 391,083 391,403 +320 (+0.1%) 🔴
split-shell gzip 128,257 127,467 −790 (−0.6%) 🟢
split-shell brotli 111,031 111,069 +38 (+0.0%) 🔴
split-shell-runtime raw 315,700 316,020 +320 (+0.1%) 🔴
split-shell-runtime gzip 102,393 101,596 −797 (−0.8%) 🟢
split-shell-runtime brotli 87,775 87,802 +27 (+0.0%) 🔴
binding-base-ui-vite raw 176,859 176,955 +96 (+0.1%) 🔴
binding-base-ui-vite gzip 58,045 57,602 −443 (−0.8%) 🟢
binding-base-ui-vite brotli 51,142 51,063 −79 (−0.2%) 🟢
binding-base-ui-esbuild raw 198,294 198,369 +75 (+0.0%) 🔴
binding-base-ui-esbuild gzip 66,900 66,596 −304 (−0.5%) 🟢
binding-base-ui-esbuild brotli 58,724 58,895 +171 (+0.3%) 🔴
binding-aria-vite raw 7,116 7,092 −24 (−0.3%) 🟢
binding-aria-vite gzip 2,747 2,729 −18 (−0.7%) 🟢
binding-aria-vite brotli 2,433 2,418 −15 (−0.6%) 🟢
binding-aria-esbuild raw 8,067 7,792 −275 (−3.4%) 🟢
binding-aria-esbuild gzip 3,082 2,954 −128 (−4.2%) 🟢
binding-aria-esbuild brotli 2,756 2,645 −111 (−4.0%) 🟢
binding-radix-vite raw 176,292 176,391 +99 (+0.1%) 🔴
binding-radix-vite gzip 57,611 57,263 −348 (−0.6%) 🟢
binding-radix-vite brotli 50,770 50,749 −21 (−0.0%) 🟢
binding-radix-esbuild raw 197,777 197,857 +80 (+0.0%) 🔴
binding-radix-esbuild gzip 66,581 66,299 −282 (−0.4%) 🟢
binding-radix-esbuild brotli 58,395 58,612 +217 (+0.4%) 🔴
binding-mantine-hooks-vite raw 68,732 68,743 +11 (+0.0%) 🔴
binding-mantine-hooks-vite gzip 23,623 23,485 −138 (−0.6%) 🟢
binding-mantine-hooks-vite brotli 21,402 21,326 −76 (−0.4%) 🟢
binding-mantine-hooks-esbuild raw 77,637 77,574 −63 (−0.1%) 🟢
binding-mantine-hooks-esbuild gzip 27,509 27,501 −8 (−0.0%) 🟢
binding-mantine-hooks-esbuild brotli 24,804 24,883 +79 (+0.3%) 🔴
binding-apollo-client-vite raw 321,400 321,565 +165 (+0.1%) 🔴
binding-apollo-client-vite gzip 101,026 100,573 −453 (−0.4%) 🟢
binding-apollo-client-vite brotli 88,818 88,889 +71 (+0.1%) 🔴
binding-apollo-client-esbuild raw 350,130 350,228 +98 (+0.0%) 🔴
binding-apollo-client-esbuild gzip 113,932 113,572 −360 (−0.3%) 🟢
binding-apollo-client-esbuild brotli 100,125 100,261 +136 (+0.1%) 🔴
binding-usehooks-ts-vite raw 69,514 69,525 +11 (+0.0%) 🔴
binding-usehooks-ts-vite gzip 23,840 23,745 −95 (−0.4%) 🟢
binding-usehooks-ts-vite brotli 21,592 21,553 −39 (−0.2%) 🟢
binding-usehooks-ts-esbuild raw 78,407 78,342 −65 (−0.1%) 🟢
binding-usehooks-ts-esbuild gzip 27,727 27,742 +15 (+0.1%) 🔴
binding-usehooks-ts-esbuild brotli 25,062 25,071 +9 (+0.0%) 🔴

33 other measured values are unchanged.

Lynx dual-thread render (report only)

All 13 timed operations (13 without a verdict)
target operation base ms head ms head/base 95% CI
octane-lynx empty_startup_ms 0.387 0.435 +12.5% – ⚪ unpaired
octane-lynx create_1k_rows_ms 7.364 8.299 +12.7% – ⚪ unpaired
octane-lynx create_10k_rows_ms 69.994 69.851 −0.2% – ⚪ unpaired
octane-lynx update_1k_rows_ms 1.234 1.083 −12.2% – ⚪ unpaired
octane-lynx update_10k_rows_ms 9.218 7.919 −14.1% – ⚪ unpaired
octane-lynx-reentrant-10k drain_ms 84.777 88.313 +4.2% – ⚪ unpaired
octane-lynx-reentrant-20k drain_ms 169.720 176.356 +3.9% – ⚪ unpaired
octane-lynx-cold create_1k_rows_ms 17.587 19.040 +8.3% – ⚪ unpaired
octane-lynx-cold create_10k_rows_ms 90.330 88.333 −2.2% – ⚪ unpaired
octane-lynx-first-screen create_1k_rows_ms 91.790 95.788 +4.4% – ⚪ unpaired
octane-lynx-first-screen create_10k_rows_ms 704.159 708.944 +0.7% – ⚪ unpaired
octane-lynx-adopt create_1k_rows_ms 130.662 127.900 −2.1% – ⚪ unpaired
octane-lynx-adopt create_10k_rows_ms 1063.128 1166.402 +9.7% – ⚪ unpaired

@cloudflare-workers-and-pages

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 f7e8fb8 Commit Preview URL

Branch Preview URL
Oct 15 2026, 01:53 PM

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 refactor PR: internal restructuring, no behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants