Modules§
Macros§
- benchmark_
group - Defines a function called
$group_namethat returns the test description values for the listed functions$function. - benchmark_
main - Define a
fn main()that will run all benchmarks defined by the groups in$group_name.
Structs§
- Bench
Samples - Bencher
- Manager of the benchmarking runs.
- Test
Desc - Test
Desc AndFn - Test
Opts - Test
Paths
Enums§
Traits§
- TDyn
Bench Fn - Represents a benchmark function.
Functions§
- black_
box - NOTE: We don’t have a proper black box in stable Rust. This is a workaround implementation, that may have a too big performance overhead, depending on operation, or it may fail to properly avoid having code optimized out. It is good enough that it is used by default.
- fmt_
bench_ samples - run_
tests_ console