cuprate-hinto-janai/benches/benchmark/bin/README.md

19 lines
676 B
Markdown
Raw Normal View History

2024-10-04 01:36:32 +00:00
## `cuprate-benchmark`
2024-10-04 21:37:38 +00:00
This crate links all benchmarks together into a single binary that can be run as: `cuprate-benchmark`.
`cuprate-benchmark` will run all enabled benchmarks sequentially and print data at the end.
## Benchmarks
Benchmarks are opt-in and enabled via features.
| Feature | Enables which benchmark crate? |
|----------|--------------------------------|
| example | cuprate-benchmark-example |
| database | cuprate-benchmark-database |
## Features
These are features that aren't for enabling benchmarks, but rather for other things.
| Features | Does what |
|----------|-----------|
| json | Prints JSON timings instead of a markdown table