https://github.com/cryptogladi/rbenchmark
Library for evaluating the performance of your computer
https://github.com/cryptogladi/rbenchmark
benchmark cpu-benchmark rust-lang rust-library
Last synced: 4 months ago
JSON representation
Library for evaluating the performance of your computer
- Host: GitHub
- URL: https://github.com/cryptogladi/rbenchmark
- Owner: CryptoGladi
- License: mit
- Created: 2023-02-27T15:59:48.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-12T12:19:43.000Z (over 3 years ago)
- Last Synced: 2025-08-13T17:52:17.210Z (10 months ago)
- Topics: benchmark, cpu-benchmark, rust-lang, rust-library
- Language: Rust
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rbenchmark




Library for evaluating the performance of your computer, written in **pure Rust**
# Example :rocket:
```rust
use rbenchmark::prelude::*;
let mut runner = BenchmarkRunner::default();
let result = runner.run_all(|_progress | {}).unwrap();
println!("{:?}", result);
```
# Features :star:
* Write your own [`benchmarks`](crate::benchmark::Benchmark) and run them.
* Write your own runner for benchmarks
* Set the [`time`](crate::benchmark_runner::BenchmarkRunner::time_for_run_one_bench) of the benchmark
* Multi-core support
* Adjust which benchmarks to run
* Callback functions
# Example program
