diff options
author | Aria Shrimpton <me@aria.rip> | 2024-03-19 22:38:59 +0000 |
---|---|---|
committer | Aria Shrimpton <me@aria.rip> | 2024-03-19 22:38:59 +0000 |
commit | 18be480e89e773f827da930d98618db4a9c9d9f9 (patch) | |
tree | 1ec5ed902a9e40b136c0e8f3d59d241816e719c5 /src/tests/prime_sieve/benches | |
parent | 05715322ad643b39234e0d2f752acc762e760b35 (diff) |
benchmark updates
Diffstat (limited to 'src/tests/prime_sieve/benches')
-rw-r--r-- | src/tests/prime_sieve/benches/main.rs | 2 |
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)); }); |