diff --git a/benches/compressed-snark-supernova.rs b/benches/compressed-snark-supernova.rs index d0b2b38fc..550989d05 100644 --- a/benches/compressed-snark-supernova.rs +++ b/benches/compressed-snark-supernova.rs @@ -201,8 +201,17 @@ fn bench_compressed_snark_internal_with_arity< fn bench_one_augmented_circuit_compressed_snark(c: &mut Criterion) { // we vary the number of constraints in the step circuit - for &num_cons_in_augmented_circuit in - [9819, 16384, 32768, 65536, 131072, 262144, 524288, 1048576].iter() + for &num_cons_in_augmented_circuit in [ + NUM_CONS_VERIFIER_CIRCUIT_PRIMARY, + 16384, + 32768, + 65536, + 131072, + 262144, + 524288, + 1048576, + ] + .iter() { // number of constraints in the step circuit let num_cons = num_cons_in_augmented_circuit - NUM_CONS_VERIFIER_CIRCUIT_PRIMARY; @@ -220,8 +229,17 @@ fn bench_one_augmented_circuit_compressed_snark(c: &mut Criterion) { fn bench_two_augmented_circuit_compressed_snark(c: &mut Criterion) { // we vary the number of constraints in the step circuit - for &num_cons_in_augmented_circuit in - [9819, 16384, 32768, 65536, 131072, 262144, 524288, 1048576].iter() + for &num_cons_in_augmented_circuit in [ + NUM_CONS_VERIFIER_CIRCUIT_PRIMARY, + 16384, + 32768, + 65536, + 131072, + 262144, + 524288, + 1048576, + ] + .iter() { // number of constraints in the step circuit let num_cons = num_cons_in_augmented_circuit - NUM_CONS_VERIFIER_CIRCUIT_PRIMARY; @@ -239,8 +257,17 @@ fn bench_two_augmented_circuit_compressed_snark(c: &mut Criterion) { fn bench_two_augmented_circuit_compressed_snark_with_computational_commitments(c: &mut Criterion) { // we vary the number of constraints in the step circuit - for &num_cons_in_augmented_circuit in - [9819, 16384, 32768, 65536, 131072, 262144, 524288, 1048576].iter() + for &num_cons_in_augmented_circuit in [ + NUM_CONS_VERIFIER_CIRCUIT_PRIMARY, + 16384, + 32768, + 65536, + 131072, + 262144, + 524288, + 1048576, + ] + .iter() { // number of constraints in the step circuit let num_cons = num_cons_in_augmented_circuit - NUM_CONS_VERIFIER_CIRCUIT_PRIMARY; diff --git a/benches/compressed-snark.rs b/benches/compressed-snark.rs index 153111349..53d007f0e 100644 --- a/benches/compressed-snark.rs +++ b/benches/compressed-snark.rs @@ -134,8 +134,17 @@ fn bench_compressed_snark_internal, S2: RelaxedR1C fn bench_compressed_snark(c: &mut Criterion) { // we vary the number of constraints in the step circuit - for &num_cons_in_augmented_circuit in - [9819, 16384, 32768, 65536, 131072, 262144, 524288, 1048576].iter() + for &num_cons_in_augmented_circuit in [ + NUM_CONS_VERIFIER_CIRCUIT_PRIMARY, + 16384, + 32768, + 65536, + 131072, + 262144, + 524288, + 1048576, + ] + .iter() { // number of constraints in the step circuit let num_cons = num_cons_in_augmented_circuit - NUM_CONS_VERIFIER_CIRCUIT_PRIMARY; @@ -151,7 +160,16 @@ fn bench_compressed_snark(c: &mut Criterion) { fn bench_compressed_snark_with_computational_commitments(c: &mut Criterion) { // we vary the number of constraints in the step circuit - for &num_cons_in_augmented_circuit in [9819, 16384, 32768, 65536, 131072, 262144].iter() { + for &num_cons_in_augmented_circuit in [ + NUM_CONS_VERIFIER_CIRCUIT_PRIMARY, + 16384, + 32768, + 65536, + 131072, + 262144, + ] + .iter() + { // number of constraints in the step circuit let num_cons = num_cons_in_augmented_circuit - NUM_CONS_VERIFIER_CIRCUIT_PRIMARY; diff --git a/benches/recursive-snark-supernova.rs b/benches/recursive-snark-supernova.rs index 197d4a38b..38add5261 100644 --- a/benches/recursive-snark-supernova.rs +++ b/benches/recursive-snark-supernova.rs @@ -186,8 +186,17 @@ fn bench_recursive_snark_internal_with_arity( fn bench_one_augmented_circuit_recursive_snark(c: &mut Criterion) { // we vary the number of constraints in the step circuit - for &num_cons_in_augmented_circuit in - [9819, 16384, 32768, 65536, 131072, 262144, 524288, 1048576].iter() + for &num_cons_in_augmented_circuit in [ + NUM_CONS_VERIFIER_CIRCUIT_PRIMARY, + 16384, + 32768, + 65536, + 131072, + 262144, + 524288, + 1048576, + ] + .iter() { // number of constraints in the step circuit let num_cons = num_cons_in_augmented_circuit - NUM_CONS_VERIFIER_CIRCUIT_PRIMARY; @@ -204,8 +213,17 @@ fn bench_one_augmented_circuit_recursive_snark(c: &mut Criterion) { fn bench_two_augmented_circuit_recursive_snark(c: &mut Criterion) { // we vary the number of constraints in the step circuit - for &num_cons_in_augmented_circuit in - [9819, 16384, 32768, 65536, 131072, 262144, 524288, 1048576].iter() + for &num_cons_in_augmented_circuit in [ + NUM_CONS_VERIFIER_CIRCUIT_PRIMARY, + 16384, + 32768, + 65536, + 131072, + 262144, + 524288, + 1048576, + ] + .iter() { // number of constraints in the step circuit let num_cons = num_cons_in_augmented_circuit - NUM_CONS_VERIFIER_CIRCUIT_PRIMARY; diff --git a/benches/recursive-snark.rs b/benches/recursive-snark.rs index e1ae60602..c49a12fa0 100644 --- a/benches/recursive-snark.rs +++ b/benches/recursive-snark.rs @@ -48,8 +48,17 @@ const NUM_SAMPLES: usize = 10; fn bench_recursive_snark(c: &mut Criterion) { // we vary the number of constraints in the step circuit - for &num_cons_in_augmented_circuit in - [9819, 16384, 32768, 65536, 131072, 262144, 524288, 1048576].iter() + for &num_cons_in_augmented_circuit in [ + NUM_CONS_VERIFIER_CIRCUIT_PRIMARY, + 16384, + 32768, + 65536, + 131072, + 262144, + 524288, + 1048576, + ] + .iter() { // number of constraints in the step circuit let num_cons = num_cons_in_augmented_circuit - NUM_CONS_VERIFIER_CIRCUIT_PRIMARY;