Repository navigation
Conversation
Add a reusable quiet-host stage decomposition runner with deterministic accounting tests and SG1 measurements. Co-authored-by: TRAE CLI <[email protected]>
This was referenced Aug 10, 2026
Owner
Author
|
Conclusion: close this historical stacked benchmark PR. Its reusable evidence commits have been retained on the locally rebased Hux branch, while the product assumptions were replaced by current upstream main and live research 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
benchmarks/lynx-table/stagesinstrument for FCP@10k and create@10k decompositionn=5) on SG1 with raw samples, medians, min-max spread, shares, and same-window ratiosCloses #16
Why
S1 wall-clock predictions repeatedly blamed the wrong layer. This instrument observes the real PR #15 stack, including #12's
instantiatereceiver, and names unexposed host time as an explicit residual instead of guessing.Changes
stages/run.mjsbuilds control/profile variants, alternates AB/BA order, collects the hidden main-thread iframe and background-worker profiles by value, and emits Markdown/JSON reportsstages/instrument-source.mjsapplies profile-only timers during the benchmark build and restores every source byte infinally; published Lynx source is unchangedstages/results/sg1.{md,json}commits the final SG1 session and raw samplesValidation
pnpm format:checkpnpm typecheckpnpm test— completed with 1,568 files / 17,019 tests passing; 28 failures in 9 unrelated pre-existing/environment-sensitive suites (differential React-side timeouts/empty mounts, TanStack Start cross-device temp rename, website benchmark-card drift, Recharts differential drift, and two Rspeedy browser timeouts)node --test benchmarks/lynx-table/stages/*.test.mjs— 7 passedvitest run packages/lynx/tests— 28 files / 306 tests passednode benchmarks/bench.mjs --only lynx-table --ratios --quick— 14 guards passednode benchmarks/bench.mjs --only lynx-bundle-size --ratios— 6 guards passedpnpm sync008c19a121a736da08656449c4ae401ae3c30237c3bd6e7b8f556e84b65a99eenode stages/run.mjs --reps 5Measured
Host: 32× Intel Xeon Platinum 8336C @ 2.30GHz, Linux 5.15.120, Node 22.22.2, Chromium 149.0.7827.55. Fresh page per sample, AB/BA interleaving, n=5 per control/profile cell; vue-vdom create measured after each pair.
Raw: FCP profile 2,319.5ms vs control 2,311.3ms (1.004×); create profile 2,701.8ms vs control 2,658.0ms (1.016×) and vue-vdom 1,369.5ms (1.973×).
Risk / follow-ups
Provenance
agent-authored)