mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-12-22 11:39:30 +00:00
caa08d5eaa
* add readme * readme, basic examples * name changes, bin impl * example, docs * book * add `cuprate-criterion-example` * docs, tracing * fix clippy * docs * lib readme * json-rpc benchmarks * add to crates.md * add `fixme` * fix `cargo b` failing this `cfg()` existing makes a regular workspace `cargo b` fail * fix cargo.toml |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
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.