zcash_primitives: Remove spaces from benchmark group names

This commit is contained in:
Jack Grigg 2021-08-05 22:40:46 +01:00
parent 0f15743200
commit 16d38ea354
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ fn bench_note_decryption(c: &mut Criterion) {
}
};
let mut group = c.benchmark_group("Sapling note decryption");
let mut group = c.benchmark_group("sapling-note-decryption");
group.bench_function("valid", |b| {
b.iter(|| try_sapling_note_decryption(&TEST_NETWORK, height, &valid_ivk, &output).unwrap())

View File

@ -12,7 +12,7 @@ fn bench_pedersen_hash(c: &mut Criterion) {
.collect::<Vec<_>>();
let personalization = Personalization::MerkleTree(31);
c.bench_function("Pedersen hash", |b| {
c.bench_function("pedersen-hash", |b| {
b.iter(|| pedersen_hash(personalization, bits.clone()))
});
}