Repository navigation
Description
Relay issue
Work for Huxpro/lynx-js-framework-benchmark. The current matrix is the krausest superset: eager view tables. On Lynx the dominant production surface is native <list> with platform-driven cell materialization (componentAtIndex) and recycling (enqueueComponent) — and no featured case exercises it. Every framework's list story (who owns recycle identity, what crosses per cell, how much framework script runs per materialization) is currently invisible to the benchmark whose mission is to expose exactly that kind of dual-thread wiring.
Proposed cases
Three cases, same fixture ladder discipline as the table:
list-startup@N— first screen with the table rendered inside a native<list>at 1k/10k rows: attach → first frame where the visible cells satisfy the content predicate. This is the lazy counterpart of the existing eagerstartup@N, and the pair prices eager-vs-virtualized first paint per framework.list-recycle— programmatic scroll by exactly one viewport, repeated: cost per recycled cell (theenqueueComponent→rebind round trip), with the wire meter attached — bytes crossing per recycled cell is the number that separates "recycle = component lifecycle" designs from "recycle = data rebind" designs.list-fling— sustained fling at fixed velocity: cells materialized per second, dropped/blank-cell frames (the platform shows blanks when materialization can't keep up — count them via the composed-DOM predicate), p50/p99 materialization latency.
Contract notes
- The driver contract stays shared and versioned: list config (estimated sizes, buffer counts) is part of the case declaration, identical per entry; a framework that cannot express native
<list>records an honest unsupported, not a forked fixture. - Native harness is where this matters most (real touch fling exists there); web-core's list emulation runs the same cases as the web half with the emulation caveat recorded in
boundary. - Blank-cell counting needs a predicate rule: a blank is a materialization miss, data not DNF — same philosophy as "a slow framework looks slow, never absent".
Why now
Octane's side has open architecture work on compiled programs inside list rows (#193, #195): R2 there needs per-cell re-entry pricing that this suite would produce for every framework, turning a one-framework probe into a comparable, reusable instrument.
Activity
Huxpro commentedon Aug 26, 2026
Benchmark audit / contract corrections before implementation:
<list>+<list-item>with stablekey/item-key, resolved list height, and scroll props/events.componentAtIndex/enqueueComponentdescribe renderer internals and cannot be required as a framework-authored shared API or directly timed across ReactLynx/Vue/Octane. The benchmark should observe materialization/recycling at a shared host boundary, not ask apps to call those internals.unsupported, not a proxy fixture or DNF.I will implement this corrected capability/receipt boundary first, retain unsupported as data, and leave framework-specific hooks forbidden.
Huxpro commentedon Aug 26, 2026
Implemented downstream in Huxpro/lynx-js-framework-benchmark#33 (benchmark issue #32), commit
739c81b.The implementation follows the corrected contract boundary:
list/ keyedlist-itemfixture; apps do not call renderer internalsAll current benchmark artifacts are eager-table-only, so the published 7-entry × 2-harness × 4-case ledger honestly reports 56
unsupported, 0 DNF, and 0 fabricated measurements. No framework-specific fallback or table proxy was added. The existing dataset is unchanged: after stripping only the new list fields, a rebuild is byte-for-byte identical to the #201 base (10,511 records, 1,423 comparison records).Huxpro commentedon Aug 30, 2026
Status review: the contract is built and honest (56/56 unsupported) — and the PaintingContext finding just made filling it urgent
Reviewed benchmark PR #33 and the boundary corrections above. The corrections were the right calls, especially refusing to time renderer internals (
componentAtIndexas observation boundary, not authored API) and refusing proxy fixtures — 56 unsupported / 0 fabricated is the honest ledger. The byte-identity replay against the #201 base is exactly the discipline we want.But the world moved under this issue, in its favor: #234 Part B established that the device ART charge is per platform peer and framework-invariant — so lazy list materialization is now the only lever that moves the device capacity boundary (~10,145 rows eager, for every framework). This suite went from "the missing production workload" to "the measurement home of the only capacity strategy that works." Follow-ups, in order:
<list>surfaces; theirlist-startup@Nfixtures need no framework work — just the versioned fixture bundles the contract already specifies. Turning even 2 of 7 entries fromunsupportedto measured makes the suite live, and gives the eager-vs-virtualized startup pair its first real numbers (including whether virtualized entries survive 10k/30k native where every eager entry DNFs — the capacity claim, measured).list-recycle's per-cell numbers are its acceptance instrument. Note the dependency in the PR so neither side re-derives it.Generated by Claude Code