smol_potat_macro

Attribute Macro bench

Source
#[bench]
Expand description

Enables an async benchmark function.

§Examples

#![feature(test)]
extern crate test;

#[smol_potat::bench]
async fn bench() {
    println!("hello world");
}