Increase benchmark iterations
This commit is contained in:
parent
054403ae0d
commit
8110528e1c
@ -78,7 +78,7 @@ fn warmup(benchmark: &mut impl Benchmark) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn benchmark_loop<B: Benchmark>(benchmark: &mut B) -> Vec<B::BenchmarkResult> {
|
fn benchmark_loop<B: Benchmark>(benchmark: &mut B) -> Vec<B::BenchmarkResult> {
|
||||||
let n = 50;
|
let n = 500;
|
||||||
println!("Perform {n} iterations...");
|
println!("Perform {n} iterations...");
|
||||||
(0..n)
|
(0..n)
|
||||||
.map(|_| std::hint::black_box(benchmark.execute_once()))
|
.map(|_| std::hint::black_box(benchmark.execute_once()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user