aboutsummaryrefslogtreecommitdiff
path: root/src/tests/example_sets
diff options
context:
space:
mode:
authorAria Shrimpton <me@aria.rip>2024-01-31 22:59:43 +0000
committerAria Shrimpton <me@aria.rip>2024-01-31 23:09:40 +0000
commit10d1da37f9f5ef38363f005508b7dec2bfd867fd (patch)
tree6dc113f3547b6033ebac7150054a8a3bd9f4b98e /src/tests/example_sets
parent77d77cc0f027b4e7b03bb924e8074b193ff5e763 (diff)
attempt to detect when switching containers midway through would be better
Diffstat (limited to 'src/tests/example_sets')
-rw-r--r--src/tests/example_sets/benches/main.rs2
1 files changed, 1 insertions, 1 deletions
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));
});