Skip to content

fix(bench): calibrate frame gate to idle browser cadence - #623

Merged
blove merged 3 commits into
mainfrom
blove/benchmark-frame-cadence
Nov 18, 2026
Merged

blove merged 3 commits into
mainfrom
blove/benchmark-frame-cadence

Conversation

@blove

@blove blove commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

The row-model gate rejected healthy 60 Hz browser frames: an empty Chromium page measures 16.7 ms, above its fixed 16 ms threshold. Calibrate a frame-only budget from a fresh blank-page sample while preserving processing limits and correctness checks.

  • Record 120 idle intervals after warm-up; use median + 0.25 ms for timestamp rounding. Reject slow/noisy, missing, stale or mismatched calibration.
  • Use the same explicit browser context for calibration and workloads, with one gate worker. Ordinary browser runs retain their defaults.
  • Preserve the 8 ms commit/rebuild limits, checksums, responsive rebuilds, counts, long-task and drift checks; reject nonfinite metrics.

Validation passed on November 18:

  • Full four-scenario performance gate on 485c868b: 112 browser assertions passed, 4 expected skips. Maximum commit p95 3.8 ms, grouped rebuild slice 4.7 ms, grouped frame p95 16.7 ms against a calibrated 16.95 ms budget.
  • Combined validation with feat: add scoped grand totals and server-supplied summary rows #622 on temporary commit 4dad2d87: full gate passed; 112 browser assertions passed, 4 expected skips. Maximum commit and grouped rebuild slice 4.9 ms; grouped frame p95 16.8 ms against 16.95 ms.
  • 12 focused tests (new cases proved red first), 487 infrastructure tests, scoped lint/format, and independent specification/quality reviews passed. All CI checks, preview deployment and cross-browser smoke tests are green.

Earlier overloaded-host failures remain historical evidence; neither processing limit was relaxed. Raw reports and traces are retained in each validation worktree’s ignored status/; logs are /private/tmp/pretable-cadence-gate-2026-11-18.log and /private/tmp/pretable-totals-gate-2026-11-18.log.

Merge this separate correction before #622. No public package/runtime changes or release changeset needed.

@vercel

vercel Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
pretable Ignored Ignored Nov 14, 2026 3:23pm UTC

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

Vercel preview ready

Preview: https://pretable-30uabygor-cacheplane.vercel.app
Commit: 485c868be1861389a2a0950b9fb813e06cecd5ed

Updated automatically by the deploy-preview job.

@blove
blove merged commit c48a8e1 into main Nov 18, 2026
21 checks passed
@blove
blove deleted the blove/benchmark-frame-cadence branch November 18, 2026 20:35
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