cuprate-hinto-janai/benches/benchmark/lib/README.md
2024-10-09 19:46:13 -04:00

709 B

cuprate-benchmark-lib

This crate is the glue between cuprate-benchmark and all the benchmark crates.

It defines the [crate::Benchmark] trait, which is the behavior of all benchmarks.

See the cuprate-benchmark-example crate to see an example implementation of this trait.

After implementing this trait, a few steps must be done such that the cuprate-benchmark binary can actually run your benchmark crate; see the Benchmarking section in the Architecture book to see how to do this.