From 5d5b9aa24484ab765322d2822daa3362a544d97c Mon Sep 17 00:00:00 2001 From: Srinath Setty Date: Wed, 20 Jul 2022 16:05:43 -0700 Subject: [PATCH] Fix bench name (#95) * fix name * Add 14 --- benches/compressed-snark.rs | 4 ++-- benches/recursive-snark.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benches/compressed-snark.rs b/benches/compressed-snark.rs index a94aa4a..fa50554 100644 --- a/benches/compressed-snark.rs +++ b/benches/compressed-snark.rs @@ -32,10 +32,10 @@ fn bench_compressed_snark(c: &mut Criterion) { let num_samples = 10; // we vary the number of constraints in the step circuit - for &log_num_cons_in_step_circuit in [0, 15, 16, 17, 18, 19, 20].iter() { + for &log_num_cons_in_step_circuit in [0, 14, 15, 16, 17, 18, 19, 20].iter() { let num_cons = 1 << log_num_cons_in_step_circuit; - let mut group = c.benchmark_group(format!("RecursiveSNARK-StepCircuitSize-{}", num_cons)); + let mut group = c.benchmark_group(format!("CompressedSNARK-StepCircuitSize-{}", num_cons)); group.sample_size(num_samples); // Produce public parameters diff --git a/benches/recursive-snark.rs b/benches/recursive-snark.rs index 5f299f4..7a95f59 100644 --- a/benches/recursive-snark.rs +++ b/benches/recursive-snark.rs @@ -28,7 +28,7 @@ criterion_main!(recursive_snark); fn bench_recursive_snark(c: &mut Criterion) { // we vary the number of constraints in the step circuit - for &log_num_cons_in_step_circuit in [0, 15, 16, 17, 18, 19, 20].iter() { + for &log_num_cons_in_step_circuit in [0, 14, 15, 16, 17, 18, 19, 20].iter() { let num_cons = 1 << log_num_cons_in_step_circuit; let mut group = c.benchmark_group(format!("RecursiveSNARK-StepCircuitSize-{}", num_cons));