Crate criterion [−] [src]
A statistics-driven micro-benchmarking library written in Rust.
Features
- Can benchmark native (Rust) programs and also foreign (C, Python, Go, etc) programs
- Easily benchmark a program under several inputs
- Easy migration from
std::test::Bencher
tocriterion::Bencher
- Plots!
Structs
Bencher |
Helper struct to time routines |
Criterion |
The benchmark manager |
Fun |
Representing a function to benchmark together with a name of that function.
Used together with |