aboutsummaryrefslogtreecommitdiff
path: root/src/tests/prime_sieve/benches/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/prime_sieve/benches/main.rs')
-rw-r--r--src/tests/prime_sieve/benches/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/prime_sieve/benches/main.rs b/src/tests/prime_sieve/benches/main.rs
index 9b1b8c2..e4a4278 100644
--- a/src/tests/prime_sieve/benches/main.rs
+++ b/src/tests/prime_sieve/benches/main.rs
@@ -3,7 +3,7 @@ use criterion::Criterion;
use criterion::{criterion_group, criterion_main};
fn bench_sieve(c: &mut Criterion) {
- for size in [500, 20_000, 50_000].iter() {
+ for size in [50, 500, 50_000].iter() {
c.bench_with_input(BenchmarkId::new("prime_sieve", size), size, |b, &n| {
b.iter(|| prime_sieve::prime_sieve(n));
});