Crate rbenchmark
source ·Expand description
rbenchmark is a library for evaluating the performance of your computer, written in pure Rust
Example
use rbenchmark::prelude::*;
let mut runner = BenchmarkRunner::default(); // is slow!
let result = runner.run_all(|_progress | {}).unwrap();
println!("{:?}", result);
Features
- Write your own
benchmarks
and run them. - Write your own runner for benchmarks
- Set the
time
of the benchmark - Multi-core support
- Adjust which benchmarks to run
- Callback functions
Modules
- Trait for own benchmarks
- Prelude