Skip to content

perf: simplify raw performance reporting - #1604

Draft
mrousavy wants to merge 1 commit into
mainfrom
perf/cleanup-reporting
Draft

perf: simplify raw performance reporting#1604
mrousavy wants to merge 1 commit into
mainfrom
perf/cleanup-reporting

Conversation

@mrousavy

@mrousavy mrousavy commented Sep 5, 2026

Copy link
Copy Markdown
Member

Performance reports currently derive confidence intervals from only two or three process pairs, automatically add a third pair, and hide Promise results regardless of the observed change. This keeps a fixed ABBA sequence and reports p50 batch-average ns/op, base/head change, process medians, paired changes, and descriptive MAD. Every observed change of at least 5% is visible; 5% is a presentation threshold and all performance results remain report-only.

Raw JSON plus run provenance is now the canonical artifact. One default-branch publisher validates downloaded data and computes the single Markdown report and median-only Bencher values. It selects the triggering attempt's immutable artifact ID, links the raw artifact in the PR comment, skips docs-only/cancelled/stale runs, and still surfaces relevant failures. The obsolete pre-merge publisher and key-rotation gate are removed.

Validation: 53 host tests; host and benchmark app TypeScript checks; benchmark app lint; actionlint on both workflows; full local package build. Tests cover raw-data/provenance rejection, fork reports, stale PRs, cancelled/docs-only runs, and exact artifact-attempt selection. Bencher's documented JSON adapter requires only value; no synthetic production data was published.

Rollout: merge this PR before running later stack revisions. The raw-manifest producer and trusted publisher land together; the old default-branch publisher cannot consume the new manifest before this merges. Changed suite definitions require a new baseline. Shared-work calibration and immutable build/measure job separation follow in separate stacked PRs.

CI is intentionally cancelled immediately after PR creation, as requested to conserve Actions minutes. Remote CI is not claimed to have passed. Do not merge until reviewed.

@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
nitro-docs Ready Ready Preview Sep 5, 2026 1:08pm UTC

Request Review

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