This commit is contained in:
arnau
2020-09-29 20:08:54 +02:00
committed by arnaucube
parent c89a44623d
commit 32fef3fcfa
4 changed files with 15 additions and 11 deletions

View File

@@ -20,7 +20,7 @@ fn criterion_benchmark(c: &mut Criterion) {
big_arr.push(b2.clone());
let mimc7 = Mimc7::new();
c.bench_function("hash", |b| b.iter(|| mimc7.hash(big_arr.clone()).unwrap()));
c.bench_function("hash", |b| b.iter(|| mimc7.hash(big_arr.clone())));
}
criterion_group!(benches, criterion_benchmark);