Skip to content

Commit d20f9b6

Browse files
committed
Update performance.rs
1 parent f6e29f7 commit d20f9b6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/consistent-hashing/benchmarks/performance.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ fn throughput_benchmark(c: &mut Criterion) {
4040
for key in keys {
4141
let mut h = DefaultHasher::default();
4242
key.hash(&mut h);
43-
black_box(ConsistentChooseKHasher::new(h, k).prev_with_vec(*n + k, &mut res));
43+
black_box(
44+
ConsistentChooseKHasher::new(h, k).prev_with_vec(*n + k, &mut res),
45+
);
4446
}
4547
},
4648
criterion::BatchSize::SmallInput,

0 commit comments

Comments
 (0)