Macro pew::pew_bench [] [src]

macro_rules! pew_bench {
    ($f:ident) => { ... };
}

A convenience macro for stringifying a benchmark function

Effectively turns an identifier f into (stringify!(f), f).

The result of this should be passed into Benchmark::<T>::with_bench.