[−][src]Attribute Macro smol_attributes::bench
#[bench]
Enables an async benchmark function.
Examples
ⓘThis example is not tested
#![feature(test)] extern crate test; #[smol::bench] async fn bench() { println!("hello world"); }
#[bench]
Enables an async benchmark function.
#![feature(test)] extern crate test; #[smol::bench] async fn bench() { println!("hello world"); }