[−][src]Attribute Macro agnostik_attributes::bench
#[bench]
Enables an async benchmark function.
Examples
ⓘThis example is not tested
#![feature(test)] extern crate test; #[agnostik::bench] async fn bench_1(b: &mut test::Bencher) { b.iter(|| { println!("hello world"); }) }