Skip to content

Commit b613eb6

Browse files
authored
benches: bits_benchmark fix wrong bench name (#477)
1 parent 5dfa9f9 commit b613eb6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

benches/bits_benchmark.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,19 @@ fn roundup_benchmark(c: &mut Criterion) {
5353
c.bench_function("roundup via bit ops", |b| {
5454
b.iter(|| round_bench!(bits::roundup))
5555
});
56-
c.bench_function("roundup via multication", |b| {
56+
c.bench_function("roundup via multiplication", |b| {
5757
b.iter(|| round_bench!(roundup_via_multiplication))
5858
});
5959
}
6060

6161
fn rounddown_benchmark(c: &mut Criterion) {
62-
c.bench_function("roundup via remainder", |b| {
62+
c.bench_function("rounddown via remainder", |b| {
6363
b.iter(|| round_bench!(rounddown_via_remainder))
6464
});
65-
c.bench_function("roundup via bit ops", |b| {
65+
c.bench_function("rounddown via bit ops", |b| {
6666
b.iter(|| round_bench!(bits::rounddown))
6767
});
68-
c.bench_function("roundup via multication", |b| {
68+
c.bench_function("rounddown via multiplication", |b| {
6969
b.iter(|| round_bench!(rounddown_via_multiplication))
7070
});
7171
}

0 commit comments

Comments
 (0)