Modules§
- counter
- Count values processed in each iteration to measure throughput.
Macros§
Structs§
- Alloc
Profiler - Measures
GlobalAllocmemory usage. - Bencher
- Enables contextual benchmarking in
#[divan::bench]. - Divan
- The benchmark runner.
Functions§
- black_
box - An identity function that hints to the compiler to be maximally pessimistic about what
black_boxcould do. - black_
box_ drop black_box+dropconvenience function.- main
- Runs all registered benchmarks.