From 0490d79107fd2b732054c2c59d534a8cf5026011 Mon Sep 17 00:00:00 2001 From: Aria Shrimpton Date: Fri, 19 Jan 2024 22:26:09 +0000 Subject: cleanup benchmarker --- src/crates/benchmarker/benches/vec.rs | 8 +++++++- src/crates/benchmarker/src/container.rs | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'src/crates/benchmarker') 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::, _>(c, &[10_000, 100_000, 1_000_000]); + candelabra_benchmarker::benchmark_container::, _>( + 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}; -- cgit v1.2.3