cli::bench

Function bench_self_recorded

Source
async fn bench_self_recorded<F, Fut>(desc: &str, f: F, count: u32)
where F: Fn(u32) -> Fut, Fut: Future<Output = Duration>,