What problem does it solve?
It helps teams add new performance benchmarks to the existing CI benchmark pipeline so results are generated, merged, uploaded, and shown in the benchmark dashboard over time.
Core Features & Use Cases
- Benchmark JSON generation guidance: Defines the required
.bench.json array format with name, value, and unit, including conventions for naming and hierarchy.
- CI integration walkthrough: Explains how to register benchmark commands in
bootstrap.sh so package benchmarks produce bench-out/*.bench.json and get merged/uploaded by the CI workflow.
- Operational tuning for repeatability: Recommends CPU isolation, Docker isolation, memory limits, and timeouts to keep benchmark runs stable and comparable.
- Dashboard-friendly organization: Shows how
/-delimited benchmark names map to group trees and how to use extra: "stacked:GROUP_NAME" for stacked charts.
Quick Start
Ask to “Create bench-out entries for a new benchmark metric named Tx/private/getTxHash/avg in a .bench.test.ts test file, register it in the package bench_cmds in bootstrap.sh, and confirm it uploads as .bench.json during the CI merge-queue or full CI runs.”