pub fn multi_thread_bench_function_with_duration<F, O>(
number_of_threads: usize,
duration: Duration,
f: F,
) -> Result<MeasureResult, BenchmarkError>Expand description
Run a function with a number of threads and a specific duration and measure its execution time.