https://github.com/pseitz/tantivy_bench_graph
regression tracking for tantivy benchmarks
https://github.com/pseitz/tantivy_bench_graph
Last synced: about 1 month ago
JSON representation
regression tracking for tantivy benchmarks
- Host: GitHub
- URL: https://github.com/pseitz/tantivy_bench_graph
- Owner: PSeitz
- Created: 2022-09-19T07:55:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-01T05:47:56.000Z (over 2 years ago)
- Last Synced: 2025-09-05T18:08:14.723Z (9 months ago)
- Language: JavaScript
- Homepage: https://pseitz.github.io/tantivy_bench_graph/index.html
- Size: 26 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tantivy_bench_graph
regression tracking for tantivy benchmarks inspired by https://github.com/rust-lang/rustc-perf, which fetches data from `cargo bench`.
https://pseitz.github.io/tantivy_bench_graph/index.html
Regular rust benchmarks are run with `cargo bench` and then converted to csv with `convert_bench_to_csv.rs`.
## Usage
The script will run once for each day and selects the latest commit on that day.
#### Benchmark a date range
`./bench_dates_tantivy -s 2022-08-01 -e 2022-09-01`
#### Benchmark a single day
`./bench_tantivy -d 2022-09-22`
#### Automated in CI
This repo is also the storage for the runs and serves a UI.
`run_bench_ci.sh` will run and commit the results to the repo.
## Results
Each benchmark is stored in a seperate csv file in `bench_results`.
`convert_csv_to_uplot.rs` converts the csv to `data.json` for uplot.
## Graph
The graph is generated with uplot in `index.html`, which loads `data.json`.