Skip to content

feat(site): add benches snapshot page#1789

Merged
chaliy merged 5 commits into
mainfrom
2026-05-26-site-benchmark-timeline
May 30, 2026
Merged

feat(site): add benches snapshot page#1789
chaliy merged 5 commits into
mainfrom
2026-05-26-site-benchmark-timeline

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented May 26, 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

  • Tests added or updated
  • Backward compatibility considered
  • just pre-pr
  • pnpm run build
  • Browser smoke test for /benches

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 26, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bashkit c0980c2 Commit Preview URL May 30 2026, 03:09 AM

@chaliy chaliy force-pushed the 2026-05-26-site-benchmark-timeline branch from 0d01724 to c0980c2 Compare May 30, 2026 03:08
@chaliy chaliy changed the title feat(site): add benches history page feat(site): add benches snapshot page May 30, 2026
@chaliy chaliy marked this pull request as ready for review May 30, 2026 03:08
@chaliy chaliy merged commit 5a7d3ac into main May 30, 2026
19 checks passed
@chaliy chaliy deleted the 2026-05-26-site-benchmark-timeline branch May 30, 2026 03:19
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`
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