diff options
-rw-r--r-- | src/crates/benchmarker/benches/vec.rs | 8 | ||||
-rw-r--r-- | src/crates/benchmarker/src/container.rs | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/crates/benchmarker/benches/vec.rs b/src/crates/benchmarker/benches/vec.rs index c8a3afc..ec572ca 100644 --- a/src/crates/benchmarker/benches/vec.rs +++ b/src/crates/benchmarker/benches/vec.rs @@ -1,7 +1,13 @@ use criterion::{criterion_group, criterion_main, Criterion}; fn run_benches(c: &mut Criterion) { - candelabra_benchmarker::benchmark_container::<Vec<usize>, _>(c, &[10_000, 100_000, 1_000_000]); + candelabra_benchmarker::benchmark_container::<Vec<usize>, _>( + c, + &[ + 64, 128, 256, 512, 1024, 2048, 3072, 4096, 5120, 6144, 7168, 8192, 16384, 24576, 32768, + 40960, 49152, 57344, 65536, + ], + ); } criterion_group!(benches, run_benches); diff --git a/src/crates/benchmarker/src/container.rs b/src/crates/benchmarker/src/container.rs index 783d46d..116620b 100644 --- a/src/crates/benchmarker/src/container.rs +++ b/src/crates/benchmarker/src/container.rs @@ -1,4 +1,4 @@ -use criterion::{black_box, BatchSize, Criterion}; +use criterion::{BatchSize, Criterion}; use primrose_library::traits::{Container, Indexable}; use rand::{distributions::Standard, prelude::Distribution, random, thread_rng, Rng}; |