From 10d1da37f9f5ef38363f005508b7dec2bfd867fd Mon Sep 17 00:00:00 2001 From: Aria Shrimpton Date: Wed, 31 Jan 2024 22:59:43 +0000 Subject: attempt to detect when switching containers midway through would be better --- src/tests/example_sets/benches/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests') diff --git a/src/tests/example_sets/benches/main.rs b/src/tests/example_sets/benches/main.rs index 938fd7c..f72afdb 100644 --- a/src/tests/example_sets/benches/main.rs +++ b/src/tests/example_sets/benches/main.rs @@ -1,7 +1,7 @@ use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion}; fn run_benches(c: &mut Criterion) { - for size in [10, 500, 1000, 5000].iter() { + for size in [10, 500, 10_000, 50_000].iter() { c.bench_with_input(BenchmarkId::new("insert_n", size), size, |b, &n| { b.iter(|| example_sets::insert_n(n)); }); -- cgit v1.2.3