/rbenchmark

Library for evaluating the performance of your computer

Primary LanguageRustMIT LicenseMIT

rbenchmark

license code size downloads build

Library for evaluating the performance of your computer, written in pure Rust

Example 🚀

use rbenchmark::prelude::*;

let mut runner = BenchmarkRunner::default();
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

Example program

render1678533482667