Crate codspeed_bencher_compat
source ·Modules§
Macros§
- Defines a function called
$group_name
that returns the test description values for the listed functions$function
. - Define a
fn main()
that will run all benchmarks defined by the groups in$group_name
.
Structs§
- Manager of the benchmarking runs.
Enums§
Traits§
- Represents a benchmark function.
Functions§
- 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.