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