You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[lynx-js-framework-benchmark] Rescue storms: a framework-neutral commit-coalescing contract #201
Work for Huxpro/lynx-js-framework-benchmark. Its METHODOLOGY.md already names the gap this closes: "Update/select storms are archived experiments, not featured workload cases. Existing apps differ in whether intermediate ticks must commit or may coalesce to the same final state; until one framework-neutral contract exists, storm values do not enter current runs or rankings."
Why it matters
The nine featured CPU workloads are point mutations. Real steady-state load is mixed-width — bursts of small targeted updates, occasional wide sweeps (whole-column refresh, reorder) — and it is exactly where architectural bets diverge: slot-dispatch/compiled-delta designs should win narrow updates, batch-diff designs may amortize wide ones better. Without a storm contract, the benchmark cannot see whether that crossover exists or where it sits.
The proposal: make coalescing policy part of the case declaration
Define the contract as observable commit semantics declared per case, verified black-box like everything else:
commit: "every-tick" — each storm tick must become an observable committed frame; the predicate samples per tick, and a framework that coalesces fails the predicate (that is a result, not a DNF).
commit: "final-state" — only the terminal state is asserted; coalescing is explicitly legal and how much each entry coalesces becomes a reported observable (frames committed / ticks issued), not a fairness hole.
Storm shape parameters live in the driver contract, versioned and shared: tick interval, burst length, mutation width per tick (1 row / 10% / full-column), seeded like everything else.
Both flavors run per entry; neither is folded into the js-framework weighted score (that score stays formula-parity with upstream). Storms report as their own suite with the wire meter attached — bytes-per-tick under storm is the dual-thread number nothing else surfaces.
Acceptance
The archived storm experiments re-enter as featured cases under the declared contract, every current entry passes the predicate under at least final-state, and the site shows committed-frames/ticks beside latency so coalescing is visible instead of contested.
Three corrections are required by the benchmark contract rather than being changed silently:
The archived Update storm / Select storm buttons are app-authored implementations. They cannot be promoted as the neutral contract because their scheduling and render barriers differ by framework. The featured suite will instead use one shared /storm driver to issue existing standard black-box actions with real pointer input.
An every-tick semantic miss is not a DNF. If the terminal state arrives, the run retains elapsed time, issued ticks, observed committed frames, wire totals, and contractPass=0 as descriptive contract-failure data. Only timeout/driver failure is DNF.
The current common black-box surface supports one-row selection and 10%-column update. It does not expose a full-column refresh. The first contract will type the mutation-width dimension but admit only those two standard shapes; full-column stays unsupported until there is a separate shared standard action. We will not add a framework-specific proxy.
The two policies use the same versioned stimulus declaration. coalescingRatio and bytes-per-tick will be collect-time derivatives from aligned raw samples. Ordinary table/startup/pipeline pages remain byte-isolated, and storm results stay outside the js-framework weighted score.
Implementation is available in Huxpro/lynx-js-framework-benchmark#31 (stacked after #200). It uses the shared /storm driver and the corrected black-box shapes described above. Real 7-entry evidence: final-state passed 14/14 update/select cells with 0 DNF; every-tick retained 14/14 semantic contract failures with 0 DNF. The dedicated suite is excluded from the js-framework weighted score.
Status review: the implementation is real and good — it needs a rebase, fresh evidence, and it has quietly become E3's oracle
Reviewed benchmark PR #31 and the two correction comments above. Verdict on the work itself: the three contract corrections were right (shared /storm driver over app-authored buttons; every-tick miss as contractPass=0 descriptive data rather than DNF; typing full-column but admitting only the two shared shapes), and the 7-entry evidence (final-state 14/14, every-tick 14/14 retained contract failures, 0 DNF) shows the contract executes. Three follow-ups, in order:
Cross-link to consume: The create residual: attribute it, tax-test it, then extend compiled programs to steady-state mounts (E-train) #230's E3 (updates over runs) needs precisely this suite's observables — bytes-per-tick under storm and coalescingRatio are the oracle numbers for whether the update wire's slot deltas hold their shape under burst load. When E3's PRs appear, the storm suite is where their claim gets checked; note that in the PR body so the connection survives.
Full-column stays unsupported as recorded — no framework-specific proxy, per the correction. Nothing else blocks.
Activity
Huxpro commentedon Aug 26, 2026
Benchmark implementation tracking: Huxpro/lynx-js-framework-benchmark#30
Three corrections are required by the benchmark contract rather than being changed silently:
The two policies use the same versioned stimulus declaration. coalescingRatio and bytes-per-tick will be collect-time derivatives from aligned raw samples. Ordinary table/startup/pipeline pages remain byte-isolated, and storm results stay outside the js-framework weighted score.
Huxpro commentedon Aug 26, 2026
Implementation is available in Huxpro/lynx-js-framework-benchmark#31 (stacked after #200). It uses the shared
/stormdriver and the corrected black-box shapes described above. Real 7-entry evidence:final-statepassed 14/14 update/select cells with 0 DNF;every-tickretained 14/14 semantic contract failures with 0 DNF. The dedicated suite is excluded from the js-framework weighted score.Huxpro commentedon Aug 30, 2026
Status review: the implementation is real and good — it needs a rebase, fresh evidence, and it has quietly become E3's oracle
Reviewed benchmark PR #31 and the two correction comments above. Verdict on the work itself: the three contract corrections were right (shared
/stormdriver over app-authored buttons; every-tick miss ascontractPass=0descriptive data rather than DNF; typing full-column but admitting only the two shared shapes), and the 7-entry evidence (final-state 14/14, every-tick 14/14 retained contract failures, 0 DNF) shows the contract executes. Three follow-ups, in order:dedfb41); perf(lynx): cut keyed component materialization cost #31 still bases on the pre-merge branch head. Rebase onto main before anything else — it is the root of the perf(lynx): cut keyed component materialization cost #31→perf(lynx): lock teardown and storm constants #33→perf(lynx): frame-align background commit dispatch #35 stack, so it moves first.Full-column stays unsupported as recorded — no framework-specific proxy, per the correction. Nothing else blocks.
Generated by Claude Code