Skip to content

perf: refresh the machine-pinned render baseline - #37

Merged
chh-ay merged 1 commit into
developfrom
perf/refresh-render-baseline
Jul 26, 2026
Merged

perf: refresh the machine-pinned render baseline#37
chh-ay merged 1 commit into
developfrom
perf/refresh-render-baseline

Conversation

@chh-ay

@chh-ay chh-ay commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Why

#35 changed bun.lock to resolve patched PostCSS. bun.lock is intentionally part of the controlled render harness fingerprint, so the approved baseline became stale even though runtime code did not change. Every local bench:check stopped before timing analysis with the one expected mismatch: harness.sources.bun.lock and its aggregate digest.

Evidence

Captured ten clean, counterbalanced rounds on the pinned host:

  • Linux 7.1.3-2-cachyos, x64
  • 12th Gen Intel Core i9-12900H
  • Bun 1.3.14, Node 24.3.0, Chromium 149.0.7827.55
  • actual and declared power profile: balanced
  • concurrency: 1
  • 10/10 rounds for Sheetwrite and Handsontable; 0 failed cells

Before promotion, I replaced only the old baseline's stale harness fingerprint in a temporary diagnostic copy and ran the strict comparator against the new capture. That preserved every old numeric limit. Result: all 28 cells passed; no statistically detected regression. Worst Sheetwrite median ratio was 1.111× for scroll-right.top-left, below the existing ratio/noise decision.

The committed baseline was then produced by generate-baseline.ts --write-baseline, not edited by hand. The exact raw JSON and generated Markdown are retained as render-baseline-raw.*; the baseline records the raw path and SHA-256.

A final baseline-vs-own-capture check passes all cells at 1.000×. That final check proves fingerprint/provenance consistency only; the old-limit diagnostic above is the non-circular regression evidence.

Runbook correction

The runbook said --power-mode performance, while the actual pinned baseline and controlled host use balanced. Correct the reproduction commands and remove the stale claim that no approved baseline exists. CI still runs deterministic smoke matrices and broad ceilings; matched wall-clock comparisons remain deliberate local evidence.

Verification

  • strict old-limits diagnostic: 28/28 cells, no statistically detected regression
  • strict promoted-baseline check: complete and fingerprint-matched
  • bun test bench/test/baseline-generation.test.ts bench/test/check.test.ts: 12 pass, 0 fail
  • bun run changeset:ci: passes; empty changeset, no package bump

No runtime source, dependency, workflow, or threshold changes.

PostCSS resolution changed bun.lock, which is part of the controlled
harness fingerprint, so the approved baseline could no longer validate
fresh captures. Record ten clean balanced-power rounds on the pinned
12900H host and promote them with the fail-closed generator.

A diagnostic using the old numeric limits and the new harness fingerprint
found no statistically detected regression across all 28 cells. Retain
the raw JSON and Markdown beside the promoted baseline, and align the
runbook's declared power mode with the recorded runner profile.
@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sheetwrite Ready Ready Preview, Comment Jul 26, 2026 1:06pm

@chh-ay
chh-ay merged commit a132e4d into develop Jul 26, 2026
11 checks passed
@chh-ay
chh-ay deleted the perf/refresh-render-baseline branch July 26, 2026 13:14
@chh-ay chh-ay mentioned this pull request Jul 26, 2026
36 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant