Skip to main content

Crate codspeed_divan_compat

Crate codspeed_divan_compat 

Source

Modules§

counter
Count values processed in each iteration to measure throughput.

Macros§

codspeed_uri

Structs§

AllocProfiler
Measures GlobalAlloc memory 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_box could do.
black_box_drop
black_box + drop convenience function.
main
Runs all registered benchmarks.

Attribute Macros§

bench
bench_group