We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
test::BenchHarness
test::Bencher
test::BenchHarness is too long, and not that straightforward. As a type name Bencher is more consistent with #[bench] attributes.
Bencher
#[bench]
#[cfg(test)] mod bench { use test::Bencher; #[bench] pub fn foo(b: &mut Bencher) { } }