Skip to content

perf(lynx): lock teardown and storm constants - #33

Closed
Huxpro wants to merge 1 commit into
perf/lynx-s3-retained-heapfrom
perf/lynx-s3-teardown-constants
Closed

Huxpro wants to merge 1 commit into
perf/lynx-s3-retained-heapfrom
perf/lynx-s3-teardown-constants

Conversation

@Huxpro

@Huxpro Huxpro commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • split 10k teardown reporting into UI clear, synchronous removeView(), and page-close-to-background-worker-release boundaries
  • replace producer-race storms with semantically matched five-update/two-select delivered-state measurements
  • fail the runner immediately unless commit, changed-row, wire-commit, and wire-command counts are exact on every repetition
  • publish five-repetition raw evidence and the final S3-5 report

Stacked base: #32 (perf/lynx-s3-retained-heap) at ae7e5d72e0765fc12613f235d36ebab96ddec929.
Head: e9d0fab6d0dde33a70c77be05f4d2e5372431fbf.

Stack: #25 → #31 → #32 → this PR.

Closes #28.

Validation

  • pnpm format:check
  • pnpm typecheck
  • pnpm test
  • targeted tests:
    • pnpm bench:lynx-attribution:test
    • node --check benchmarks/lynx-table/attribution/analyze.mjs
    • node --check benchmarks/lynx-table/attribution/run.mjs
    • pnpm format:files:check benchmarks/lynx-table/attribution/analyze.mjs benchmarks/lynx-table/attribution/analyze.test.mjs benchmarks/lynx-table/attribution/run.mjs benchmarks/lynx-table/attribution/results/s3-5-report.md
    • pnpm sync
    • node benchmarks/lynx-table/attribution/run.mjs --targets workspace --modes heap,cold,storm --scales 10000 --reps 5 --cold-samples 5 --output s3-5-final.json --allow-busy-host

pnpm typecheck:files was attempted for the three changed .mjs files; the helper reported that no TypeScript project includes them, so syntax and targeted Node tests are the applicable gates. The full suite was not rerun for this benchmark-only layer; the parent runtime layer records its focused 269-test pass and the unrelated repository-wide environment failures.

Formal evidence: all five heap samples pass semantic and worker-release checks; update storm is exactly 5 commits / 500 changed rows / 5 wire commits / 500 wire commands in every repetition; select storm is exactly 2 / 3 / 2 / 3. The candidate bundle hash is identical to #32.

Risk / follow-ups

The wall-time figures are host observations, so the committed raw samples retain min/median/max and environment metadata. Correctness gates are exact counters and semantic oracles, not timing alone. No changeset is needed because this PR changes only the benchmark harness and evidence.

Provenance

  • An agent produced this diff (agent-authored)

@Huxpro

Huxpro commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

Conclusion: close as completed benchmark infrastructure. The benchmark-only teardown and storm constants are preserved in the rebased local evidence branch; live product residuals are tracked in issues 43 and 45.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant