diff --git a/benches/eq_ord_hash.rs b/benches/eq_ord_hash.rs index 3703104..adfa046 100644 --- a/benches/eq_ord_hash.rs +++ b/benches/eq_ord_hash.rs @@ -89,7 +89,7 @@ fn hashset(c: &mut Criterion) { let items_dids: Vec<_> = random_did_plc_vec(&mut rng, count); let items_strings: Vec<_> = items_dids.iter().map(|d| d.to_string()).collect(); - g.throughput(Throughput::Elements(items_dids.len() as u64)); + // "Throughput" is 1 item g.bench_with_input(BenchmarkId::new("Did", *count), &items_dids, |b, items| { let set: HashSet = HashSet::from_iter(items.iter().cloned());