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