Repository navigation
Conversation
This was referenced Aug 10, 2026
Owner
Author
|
Conclusion: close as failed by current live-main evidence. The reorganized pacing mechanism is not mergeable; its viable successor is the backpressure-driven and zero-command-settlement research in Huxpro/octane issue 45. |
This was referenced Aug 30, 2026
Open
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
commitPacing: 'immediate'as an explicit opt-out.Why
The change-size wire work already makes each update proportional to changed rows, but an update storm can still send one non-empty commit per background tick. That spends main-thread frames on intermediate states. This layer adds backpressure at the Lynx transport boundary while preserving one-shot latency and the existing acknowledgement/effect ordering.
This is the rebased, independently mergeable replacement for the frame-pacing behavior in #10. It does not duplicate upstream octanejs#660/octanejs#661/octanejs#662, and #10 remains historical provenance until the replacement stack is verified.
Changes
pace: trueon non-empty commit messages and a root-scopedframe-pulsereply.lynx.requestAnimationFrame, or the target'srequestAnimationFrame; answer synchronously when none exists.@octanejs/lynx.Stack
fefdc2751ffc9d62d6b292bed038ef8f379683a0)1d61be7be2286a8de430a780f83975182de89d32)71e1b8a88a8c3e37cc005d37a8e6f75cf31088b4)The fork review stack is linked as GitHub Stack octanejs#36 with the official
gh stackextension. Upstream delivery remains bottom-to-top because fork-only branches cannot be simultaneous PR bases inoctanejs/octane.Simplification
PACED_FRAME_EVERYexport and replaced dated/source-branch baseline prose with durable behavioral gates.Performance audit
Exact comparison:
fefdc2751ffc9d62d6b292bed038ef8f379683a01d61be7be2286a8de430a780f83975182de89d32benchmarks/lynx-table/attribution/results/p1-{parent,candidate}-{wire,web}.json(ignored local artifacts; durable values below)Deterministic wire command, identical source app and Node harness, three drift-checked iterations per SHA:
LYNX_TABLE_SCALES=1000 BENCH_JSON=... node benchmarks/lynx-table/run.mjs 3 node benchmarks/lynx-table/run.mjs 3 # also verified 1k and 10k on each SHA node benchmarks/bench.mjs --only lynx-table --ratiospace:true, still 88% below the 2KiB budgetAll 15 applicable ratio guards passed. Create, update10th, select, and both unpaced storms kept their exact command counts at 1k and 10k.
Lynx-for-Web wall clock, same production build/driver/host window, fresh page per sample, medians of n=5 with min–max spread, zero DNF:
The deterministic 5,000→300 command reduction is the decision signal. Wall-clock intervals overlap in several cells—especially parent select-storm @1k—so those medians are directional, not stronger causal claims. Every adverse one-shot median is below the 5% repeat threshold.
Production Web bundle: 383.3→385.6 kB raw; gzip 102,690→103,391 B (+0.68%). SHA-256: parent
1ee81ad138a510707349dc9a4451e882bb395af96e2c865f59e9015a6caee6e6, candidate3e25e1da19a8369524bb793db9bafbfea11d463c915b6a708c8e49086fd7ff69. No cost moved into changed-row commands, one-shot latency, or skipped presentation states; the protocol flag and pacing state account for the small bundle/wire increase.Validation
pnpm format:files:checkfor all 12 changed filesnode benchmarks/bench.mjs --only lynx-table --ratios: 15/15 applicable guards passedpnpm syncgit diff --check; final worktree cleanpackages/lynx/tests/protocol.test.tsstill has its pre-existing standalonetypecheck:fileserrors (Node VM typing plus existing serializable-value/callback fixtures); P1 only changes its scripted frame-pulse behavior, and the file passes Vitest. The changed production files and new test typecheck cleanly.Risk / follow-ups
Provenance
agent-authored)34d530da299849397cd495c4f7b2709599ab09a7