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