SimpleBench Runtime - Core library for the SimpleBench microbenchmarking framework.
This crate provides the runtime components for SimpleBench:
- Benchmark registration via the [
SimpleBench] struct andinventorycrate - Timing and measurement with warmup phases
- Statistical analysis of benchmark results
- Baseline storage and regression detection
Usage
This crate is typically used alongside simplebench-macros which provides the
#[bench] attribute for easy benchmark registration:
use bench;
The cargo simplebench CLI tool handles compilation and execution of benchmarks.