Skip to content

Commit

Permalink
Adding the SRS size back in.
Browse files Browse the repository at this point in the history
  • Loading branch information
kantp committed Nov 29, 2023
1 parent 745984c commit 5e9ecdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kimchi/benches/proof_criterion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub fn bench_proof_creation(c: &mut Criterion) {
let ctx = BenchmarkCtx::new(size);

group.bench_function(
format!("proof creation ({} gates)", ctx.num_gates),
format!("proof creation (SRS size 2^{{{}}}, {} gates)", ctx.srs_size(), ctx.num_gates),
|b| b.iter(|| black_box(ctx.create_proof())),
);
}
Expand All @@ -24,7 +24,7 @@ pub fn bench_proof_verification(c: &mut Criterion) {
let proof_and_public = ctx.create_proof();

group.bench_function(
format!("proof verification ({} gates)", ctx.num_gates),
format!("proof verification (SRS size 2^{{{}}}, {} gates)", ctx.srs_size(), ctx.num_gates),
|b| b.iter(|| ctx.batch_verification(black_box(&vec![proof_and_public.clone()]))),
);
}
Expand Down

0 comments on commit 5e9ecdc

Please sign in to comment.