Criterion Benchmark Template
This is a cargo-generate template for quickly creating benchmarks using the Criterion benchmarking framework.
Usage
$ cargo generate lily-mara/criterion-bench-template
The defaults will give you a benches/bench.rs
file that you can open and edit to suit your needs.
Async support
By setting the async
property to true
when you're generating your project, criterion will be pre-configured for async benchmarks with Tokio support.