Skip to content

benchmarks: complete six-framework stress roadmap - #299

Merged
domgan-oai merged 2 commits into
octanejs:mainfrom
openai-oss-forks:codex/benchmark-roadmap-1-10
Jul 27, 2026
Merged

domgan-oai merged 2 commits into
octanejs:mainfrom
openai-oss-forks:codex/benchmark-roadmap-1-10

Conversation

@domgan-oai

@domgan-oai domgan-oai commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Complete the ten benchmark follow-up workstreams on the latest upstream main, including the controlled-radio reset correctness fix and nine new correctness-gated benchmark suites.
  • Compare production Octane, React, Preact, Solid 2, Svelte, and Vue Vapor across hydration stress, scheduler responsiveness, real Zustand/Jotai/TanStack Query stores, compiler throughput, asynchronous error and retry recovery, native event delegation, realistic application composition, and scaling curves.
  • Add real Node streaming backpressure, concurrent destinations, and supported abort coverage for Octane, React, Preact, and Solid without claiming that Svelte or Vue Vapor implement unsupported pipeable APIs.
  • Register every new suite in the unified benchmark runner, benchmark documentation, and MCP benchmark manifest.

Correctness and comparison

  • Use real production builds and headless Chromium with 6× CPU throttling.
  • Exercise search typing and both pointer and keyboard Send interactions before hydration; record preserved input, delivered interactions, replayed interactions, and dropped interactions separately.
  • Correctly report Octane, React, and Solid passing the hydration interaction scenarios while exposing dropped pre-hydration Send events in reference frameworks as explicit UX correctness failures.
  • Verify real external-store snapshots, selector fan-out, TanStack Query invalidation, rapid updates, and exact subscription cleanup.
  • Verify actual streamed HTML, one-byte writable backpressure, three simultaneous streaming destinations, and public abort behavior where each renderer supports it.

Validation

  • Complete combined quick benchmark and ratio run covering hydration interactivity, hydration stress, lifecycle memory, controlled forms, native and integrated external stores, scheduler responsiveness, asynchronous recovery, native event delegation, application composition, scaling curves, production compiler throughput, existing streaming SSR, and streaming backpressure.
  • 255 targeted Octane controlled-input, controlled-restore, native-event, streaming transport, scheduler-priority, and external-store regression tests.
  • MCP benchmark manifest and server tests.
  • Repository-wide Prettier format check.
  • git diff --check.

Note

Low Risk
Changes are confined to benchmarks, docs, and MCP suite lists; production runtime behavior is only touched via shared stress fixtures and a thin Query re-export used by the harness.

Overview
Adds nine correctness-gated benchmark suites and wires them into bench.mjs, the benchmarks README, and the MCP octane_benchmark manifest. Most new suites are thin run.mjs wrappers that set OCTANE_RUNTIME_STRESS_SUITE and delegate to an expanded news/runtime-stress.mjs harness (Zustand/Jotai/TanStack Query backends, scheduler typing under load, async reject/retry/cancel, native input delegation, full-app composition, scaling at 8–512 fields). Hydration-stress reuses hydration-interactivity.mjs with OCTANE_HYDRATION_STRESS for pre-hydration Enter Send and separate keyboard UX meta; the runner prints keyboard correctness tables for both hydration suites.

Node-only additions: compiler-throughput compares six real production compiler pipelines (cold/warm/incremental, heap/bytes); streaming-backpressure pipes Octane/React/Preact/Solid fixtures through a one-byte Writable with delayed drains, three concurrent streams, and abort where supported (Svelte/Vue explicitly omitted).

Fixture/support changes: six-framework runtime-stress apps gain an AsyncStatus UI; runtime-stress/shared.js adds pluggable store backends, async resource stats, form-reset radio checks, and scale/event constants. Streaming SSR entry servers expose createBenchmarkStream for the backpressure suite. TanStack Query benchmark core re-exports QueryClient for integration tests.

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

@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

@domgan-oai is attempting to deploy a commit to the Ripple Team Team on Vercel.

A member of the Team first needs to authorize it.

@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 is ON, but it could not run because the branch was deleted or merged before autofix could start.

Reviewed by Cursor Bugbot for commit daab797. Configure here.

Comment thread benchmarks/news/runtime-stress.mjs Resolved
@domgan-oai
domgan-oai marked this pull request as ready for review July 27, 2026 09:17
@domgan-oai
domgan-oai merged commit 6b9a9ce into octanejs:main Jul 27, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant