feat(site): add benches snapshot page#1789
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bashkit | c0980c2 | Commit Preview URL | May 30 2026, 03:09 AM |
0d01724 to
c0980c2
Compare
chaliy
added a commit
that referenced
this pull request
May 30, 2026
## What Adds the `/benches` site page as a latest benchmark/eval snapshot, with links to the latest Markdown reports and result folders. ## Why Bench, Criterion, and eval artifacts were hard to inspect together. The site now gives a simple current-state view while keeping raw reports one click away. ## How - Aggregates saved benchmark, Criterion, and eval artifacts with `site/scripts/build-performance-data.mjs` - Renders `/benches` from generated `performance-timeline.json` - Adds result-folder/report links, category descriptions, latest-run values, and clearer eval pass-rate labels - Adds `specs/performance-results.md` and updates run recipes so saved bench/eval runs refresh the site data - Fixes `bashkit-bench --save path/to/file.json` so custom output directories are preserved ## Risk - Low - Site data could become stale if result schemas change without updating the transformer; the new spec calls this out and `prebuild` regenerates the data. ## Checklist - [x] Tests added or updated - [x] Backward compatibility considered - [x] `just pre-pr` - [x] `pnpm run build` - [x] Browser smoke test for `/benches`
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.
What
Adds the
/benchessite page as a latest benchmark/eval snapshot, with links to the latest Markdown reports and result folders.Why
Bench, Criterion, and eval artifacts were hard to inspect together. The site now gives a simple current-state view while keeping raw reports one click away.
How
site/scripts/build-performance-data.mjs/benchesfrom generatedperformance-timeline.jsonspecs/performance-results.mdand updates run recipes so saved bench/eval runs refresh the site databashkit-bench --save path/to/file.jsonso custom output directories are preservedRisk
prebuildregenerates the data.Checklist
just pre-prpnpm run build/benches