Skip to main content

measure

Function measure 

Source
async fn measure<F, Fut>(
    name: &str,
    fixed_count: usize,
    concurrency: usize,
    config: &BenchmarkConfig,
    token: &CancellationToken,
    execute: F,
) -> PhaseReport
where F: Fn(usize) -> Fut + Send + Sync + 'static, Fut: Future<Output = Outcome> + Send + 'static,