Skip to content

docs(website): chart the Lynx suites in their own benchmarks section - #661

Merged
trueadm merged 3 commits into
octanejs:mainfrom
Huxpro:lynx/bench-website-viz
Aug 10, 2026
Merged

trueadm merged 3 commits into
octanejs:mainfrom
Huxpro:lynx/bench-website-viz

Conversation

@Huxpro

@Huxpro Huxpro commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Depends on #660 — review the last commit only.

/benchmarks gains an "Octane on Lynx" section between the head-to-head targets and the authoring cliff, charting the two lynx-table baselines PR #660 records:

  • Lynx for Web wall clock — octane, ReactLynx, and both Vue Lynx renderers on the same table app under one byte-identical page driver. Host-bound medians; the cross-framework ratios are the portable reading. Vue's two renderers wear an ordinal ramp of the Vue orchid (brand orchid = vapor, light = vdom), following the octane-variant precedent.
  • Commit wire cost — deterministic command counts against the changed-rows floor, with a new 'count' card format (exact integers, thousands separators) for unitless counters. Today the two bars are 31×–15,000× apart; that gap is the KNOWN GAP the lynx-table ratio guards pin, and fix PRs visibly close the bars by re-recording the baseline.

Placement is one new self-contained section (own heading, note, and TOC entries); happy to fold the cards into "Head-to-head targets" instead if that reads better to you.

Validation

  • pnpm format:check
  • website pnpm typecheck (tsrx-tsc)
  • targeted tests: website/tests project — 328 passed (smoke card/TOC assertions extended for the new section)

Risk / follow-ups

  • Wall-clock numbers are the recording host's; like every timing baseline they carry the "reproduce with pnpm bench:all" caveat. The wire-cost card is machine-independent.

Provenance

  • An agent produced this diff (agent-authored)

Note

Low Risk
Website-only benchmark presentation and test assertions; no runtime, auth, or data-path changes.

Overview
/benchmarks gets a new Octane on Lynx section (between head-to-head targets and the authoring cliff) with two cards from the lynx-table baselines: Lynx for Web wall clock (Octane, ReactLynx, Vue vdom/vapor on the shared table driver) and commit wire cost (Octane command counts vs the changed-rows floor).

BenchBars and BenchCard gain a count format—exact integers with en-US thousands separators—for the wire-cost card. The page sidebar/TOC, smoke tests, and SSR smoke tests are updated so the section, cards, and bar counts stay in sync.

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

Huxpro and others added 2 commits August 8, 2026 22:36
…rows floor

A point update's commit currently ships the whole tree: selecting one row in
the 10,000-row cross-framework table serializes ~30,000 commands / 2.4MB —
identical in size to a commit where every tenth row actually changed —
because every row's re-encoded class array and both bindtap closures cross
the wire on every commit. This adds the instrument that makes that cost a
tracked, gateable number before any fix lands:

- @octanejs/lynx gains a permanent __OCTANE_LYNX_PROFILE__-gated wire
  profiler (globalThis.__OCTANE_LYNX_PROF): per-thread commits, commands,
  serialized bytes, and pipeline-stage milliseconds. Compiled away when the
  define is absent.
- benchmarks/lynx-table drives the krausest-style table app (mirrored
  operation-for-operation from the Vue Lynx unified benchmark matrix)
  through the real background root, transport, main-thread receiver, and
  host driver via real tap tokens, and reports deterministic per-operation
  command counts and commit bytes against the changed-rows semantic floor.
- benchmarks/lynx-table/web is the Lynx-for-Web wall-clock harness: the
  same app for Octane and vendored ReactLynx / Vue Lynx vdom / Vue Lynx
  vapor reference bundles under one byte-identical Chromium page driver.
- ratios.json gains 12 lynx-table guards pinned at today's measured
  waterline (select = 1500x the floor, update10th = 31x, storms likewise),
  each marked KNOWN GAP with the instruction that fixes must tighten them.
  CI now fails on any further regression and visibly tracks the gap itself.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SW6xKsEpmsN7rFu4K9mFM9
/benchmarks gains an "Octane on Lynx" section between the head-to-head
targets and the authoring cliff, charting the two lynx-table baselines:

- the Lynx-for-Web wall clock — Octane, ReactLynx, and both Vue Lynx
  renderers on the same table app under one byte-identical page driver
  (host-bound medians; the cross-framework ratios are the portable
  reading). Vue's two renderers wear an ordinal ramp of the Vue orchid,
  following the octane-variant precedent.
- the deterministic commit wire cost against the changed-rows floor, with
  a new 'count' card format for unitless exact counters. The gap between
  the two bars is the KNOWN GAP the lynx-table ratio guards pin; fixes
  tighten the guards and visibly close the bars.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SW6xKsEpmsN7rFu4K9mFM9
@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent docs PR: documentation only labels Aug 9, 2026
@trueadm
trueadm marked this pull request as ready for review August 9, 2026 10:18
@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
octane-website-mcp Skipped Skipped Aug 10, 2026 10:46am

Request Review

This branch was previously deployed

1 inactive deployment
Preview – octane-website-mcp — 47de1a17 Deployed Aug 10, 2026 by vercel[bot]
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 docs PR: documentation only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants