Skip to content

Commit

Permalink
Update main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
crStiv authored Jan 5, 2025
1 parent bfb0c6d commit 25e819f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions crates/perf/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,10 @@ fn main() {
let (_, verify_shrink_duration) =
time_operation(|| prover.verify_shrink(&shrink_proof, &vk));

let (_, wrap_duration) = time_operation(|| server.wrap_bn254(shrink_proof).unwrap());
let (wrapped_bn254_proof, wrap_duration) = time_operation(|| server.wrap_bn254(shrink_proof).unwrap());

// TODO: FIX
// let (_, verify_wrap_duration) =
// time_operation(|| prover.verify_wrap_bn254(&wrapped_bn254_proof, &vk));
let (_, verify_wrap_duration) =
time_operation(|| prover.verify_wrap_bn254(&wrapped_bn254_proof, &vk));

let result = PerfResult {
cycles,
Expand All @@ -167,7 +166,7 @@ fn main() {
shrink_duration,
verify_shrink_duration,
wrap_duration,
..Default::default()
verify_wrap_duration,
};

println!("{:?}", result);
Expand Down

0 comments on commit 25e819f

Please sign in to comment.