Browse Source

Fix bench name (#95)

* fix name

* Add 14
main
Srinath Setty 2 years ago
committed by GitHub
parent
commit
5d5b9aa244
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      benches/compressed-snark.rs
  2. +1
    -1
      benches/recursive-snark.rs

+ 2
- 2
benches/compressed-snark.rs

@ -32,10 +32,10 @@ fn bench_compressed_snark(c: &mut Criterion) {
let num_samples = 10; let num_samples = 10;
// we vary the number of constraints in the step circuit // 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 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); group.sample_size(num_samples);
// Produce public parameters // Produce public parameters

+ 1
- 1
benches/recursive-snark.rs

@ -28,7 +28,7 @@ criterion_main!(recursive_snark);
fn bench_recursive_snark(c: &mut Criterion) { fn bench_recursive_snark(c: &mut Criterion) {
// we vary the number of constraints in the step circuit // 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 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!("RecursiveSNARK-StepCircuitSize-{}", num_cons));

Loading…
Cancel
Save