Repository navigation
Conversation
8 tasks done
Owner
Author
|
Conclusion: close this obsolete stack wrapper. The attribution tools have been rebased locally onto current upstream main, and new live-main hypotheses are now tracked independently in issues 43, 44, and 45. |
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
Add the benchmark-only P0 foundation for the Lynx performance stack.
Why
Every later performance layer needs repeatable evidence against its immediate
parent. The historical harness was coupled to the old Huxpro stack names and
SHAs, so it could not remain the durable instrument for reorganized or rebased
PRs.
Changes
The new harness can build arbitrary ordered
id=revisiontargets, captureheap/CPU/cold and deterministic storm evidence, compare explicit
baseline/candidate cells, and generate reports without embedding historical
branch names or SHAs. It also adds gated
LYNX_BENCH_DEBUGdiagnostics to theshared web runner.
Stack
This is P0 / 8 in the proposed performance stack. It intentionally changes
no runtime, compiler, renderer, or published package source. The next layer is
#35 (
perf/lynx-upstream-pacing),based on this PR. P0 and P1 are linked in GitHub Stack octanejs#36.
Simplification
The final diff was simplified before publication:
main,pr-10…pr-22matrix and issue-specificverdicts;
harness works both before and after later stack layers;
failure;
n >= 5, with a separate explicitsmoke mode.
Derived from the reusable benchmark work in #14, #22, #25, and #33.
Supports the investigation in #23.
Performance audit
Exact revisions:
1fbf224c36608067694d32c23d227291fec52d60fefdc2751ffc9d62d6b292bed038ef8f379683a0Production bundle equivalence
Command:
Instrumentation was disabled. Both production
main.web.bundlefiles werebyte-identical:
1ee81ad138a510707349dc9a4451e882bb395af96e2c865f59e9015a6caee6e61ee81ad138a510707349dc9a4451e882bb395af96e2c865f59e9015a6caee6e6This is the primary no-product-change gate for P0.
Observer effect and stage coverage
Command:
Protocol: fresh page per sample; control/profile order alternated AB/BA; one
same-host Vue VDOM create followed every pair. Host: 32× Intel Xeon Platinum
8336C, Linux 5.15.120.bsk.3-amd64, Node 22.22.2, Chromium 149.0.7827.55. Load
(1/5/15m): 1.60/1.11/0.76 at start, 2.03/1.38/0.90 at end.
The profiled samples also produced non-overlapping named segments:
Trade-offs and cost shifts:
byte-identical across parent/candidate;
the PR body is the durable evidence record;
Validation
pnpm format:check(repo-wide check not run)pnpm typecheck(no TS or published API change)pnpm test(repo-wide suite not run)pnpm --dir benchmarks/lynx-table test:stages— 7/7 passedpnpm bench:lynx-attribution:test— 8/8 passedpnpm synccompleted with no tracked diffgit diff HEAD^ --checkpassedRisk / follow-ups
The benchmark adds substantial informational tooling but no product code. Later
stack layers must benchmark their final SHA against their immediate parent and
publish the relevant tables, commands, hashes, spread, counters, and cost-shift
checks in each PR body. Native Android/iOS gates remain separate.
Provenance
agent-authored)