Skip to content

Commit

Permalink
Remove println! statements from test
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Sep 2, 2021
1 parent 5e68a2e commit 2c96556
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/multiexp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,15 +313,10 @@ fn test_with_bls12() {
.collect::<Vec<_>>(),
);

let now = std::time::Instant::now();
let naive: <Bls12 as Engine>::G1 = naive_multiexp(g.clone(), v.clone());
println!("Naive: {}", now.elapsed().as_millis());

let now = std::time::Instant::now();
let pool = Worker::new();

let fast = multiexp(&pool, (g, 0), FullDensity, v_bits).wait().unwrap();
println!("Fast: {}", now.elapsed().as_millis());

assert_eq!(naive, fast);
}

0 comments on commit 2c96556

Please sign in to comment.