diff options
author | Aria Shrimpton <me@aria.rip> | 2024-02-29 16:28:23 +0000 |
---|---|---|
committer | Aria Shrimpton <me@aria.rip> | 2024-02-29 16:28:23 +0000 |
commit | 5b2a47e962cbd0d98735f1fa37c5c23a6feca891 (patch) | |
tree | 9bed4f4da77b261ae33af46e091989d1d6c6743e /src/tests/prime_sieve | |
parent | 82af8cf7a6b54b14b6864ca8948dca57a2b8b63c (diff) |
some n value tweaking
Diffstat (limited to 'src/tests/prime_sieve')
-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 e75a589..9b1b8c2 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 [10_000, 20_000, 50_000].iter() { + for size in [500, 20_000, 50_000].iter() { c.bench_with_input(BenchmarkId::new("prime_sieve", size), size, |b, &n| { b.iter(|| prime_sieve::prime_sieve(n)); }); |