Pre-RFC: Stabilize `#[bench]`, `Bencher` and `black_box`

Or perhaps

use awesome_library::bench; // shadow the default bench macro 

#[bench]
fn foo() { ... }

though I've not thought that through at all =)

1 Like