Skip to content

feat(benchmarks): add Lynx native capacity diagnostics - #942

Merged
domgan-oai merged 8 commits into
octanejs:mainfrom
jonkwheeler:jon/lynx-native-capacity-outcomes
Sep 3, 2026
Merged

domgan-oai merged 8 commits into
octanejs:mainfrom
jonkwheeler:jon/lynx-native-capacity-outcomes

Conversation

@jonkwheeler

@jonkwheeler jonkwheeler commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Why

Issue #888 reports LynxExplorer aborting when the Octane benchmark eagerly renders 10,000 rows and exhausts ART's 51,200-entry global-reference table. The repository needs stable source fixtures for both the reported eager path and a bounded-list alternative, without changing the Octane runtime or treating a renderer-capacity failure as a timing result.

Changes

  • lock the existing eager table control and Native element topology with regression tests
  • expose exact 1k/10k capacity artifacts plus diagnostic 6k/7k/7.5k/8k threshold scales
  • add a 1k/10k Native recycled-list fixture with startup, recycle, fling, reuse, and teardown receipts
  • bind list fixture identity to its compile-time scale and reduce fixture-side allocation overhead
  • extend benchmark CI and docs with the A→B/B→A campaign and reportability requirements
  • refresh generated lockfile receipts after adding the workspace fixture

The companion runner and result-model implementation is Huxpro/lynx-js-framework-benchmark#52.

Validation

  • CI=true pnpm sync
  • targeted Prettier check for all authored benchmark, workflow, docs, workspace, and lockfile changes
  • ./node_modules/.bin/tsrx-tsc --noEmit -p benchmarks/lynx-list/app/tsconfig.json
  • targeted benchmark and CI workflow tests — 85 tests passed
  • all capacity table scales and both bounded-list scales built successfully through the external runner refresh
  • pnpm typecheck (targeted TSRX typecheck run instead)
  • pnpm test (attempted: changed suites passed; unrelated existing Motion/compiler/eval/rspeedy failures preceded a Node heap OOM)
  • fresh leased-device Android campaign

Risk / follow-ups

  • This PR intentionally changes no Octane runtime code and adds no benchmark result file.
  • Closing Lynx Native: eager large trees overflow ART global reference capacity #888 still requires the reported aries_10 Android cohort, at least five accepted timing attempts per eligible cell, both fixture orders, and a real versioned allocation observer for the bounded list.
  • The result collection, strict same-PID ART classifier, lease handling, and archive-only presentation live in the companion runner PR and should land with this fixture side.

Provenance

  • An agent produced this diff (agent-authored)

Note

Low Risk
Benchmark fixtures, regression tests, docs, and lockfile audit metadata only—no Octane Lynx runtime or production app code changes.

Overview
Adds issue #888 source-side diagnostics by introducing a new benchmarks/lynx-list workspace package: a scale-bound (1k/10k) Native Lynx list/list-item fixture, Rspeedy build staging via BENCH_LIST_ROWS, semantic checkpoints for startup/recycle/fling, and startup/teardown/unsupported receipts—without claiming device allocation in-repo.

benchmarks/lynx-table gains stricter fixture tests that pin eager-table UI controls, seven-elements-per-row Native topology, capacity element totals, and ordered startup publication (render ACK → two frames → semantic snapshot before __LYNX_BENCH_STARTUP__). README and docs/lynx-native-renderer-plan.md document how eager table vs bounded list evidence split, what “measured / DNF / not-measured” means, and that closure still needs the external runner plus a fresh Android campaign.

CI (bench.yml) runs the Lynx table stage and list fixture contract tests after install. Generated lockfileSha256 / eval manifest overlay hashes update for the new workspace member.

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


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent feat PR: new feature or capability labels Sep 3, 2026

@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 2 potential issues.

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 8d5ba16. Configure here.

Comment thread benchmarks/lynx-list/app/src/index.ts Resolved
Comment thread benchmarks/lynx-list/app/src/index.ts Resolved
@jonkwheeler
jonkwheeler marked this pull request as ready for review September 3, 2026 02:30
@domgan-oai
domgan-oai merged commit e3194d5 into octanejs:main Sep 3, 2026
49 checks passed
@jonkwheeler
jonkwheeler deleted the jon/lynx-native-capacity-outcomes branch October 20, 2026 12:53
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 feat PR: new feature or capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants