aboutsummaryrefslogtreecommitdiff
path: root/src/tests/example_sets
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/example_sets')
-rw-r--r--src/tests/example_sets/benches/main.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/tests/example_sets/benches/main.rs b/src/tests/example_sets/benches/main.rs
index f72afdb..3092cdf 100644
--- a/src/tests/example_sets/benches/main.rs
+++ b/src/tests/example_sets/benches/main.rs
@@ -2,9 +2,13 @@ use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
fn run_benches(c: &mut Criterion) {
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));
- });
+ c.bench_with_input(
+ BenchmarkId::new("example_sets-insert_n", size),
+ size,
+ |b, &n| {
+ b.iter(|| example_sets::insert_n(n));
+ },
+ );
}
}