[][src]Attribute Macro smol_potat_macro::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");
}