@@ -108,25 +108,15 @@ impl Proof {
108108 ( "message" . to_string ( ) , vec ! [ hash( message_uint. clone( ) ) ] ) ,
109109 ] ) ;
110110
111- let start = Instant :: now ( ) ;
112111 let zkey_path = download_zkey ( merkle_tree_depth) . expect ( "Failed to download zkey" ) ;
113- let duration = start. elapsed ( ) ;
114- println ! ( "download zkey time: {:?}" , duration. as_micros( ) ) ;
115-
116- let start = Instant :: now ( ) ;
117112 let witness_fn = dispatch_witness ( merkle_tree_depth) ;
118- let duration = start. elapsed ( ) ;
119- println ! ( "dispatch witness time: {:?}" , duration. as_micros( ) ) ;
120113
121- let start = Instant :: now ( ) ;
122114 let circom_proof = CircomProver :: prove (
123115 ProofLib :: Arkworks ,
124116 WitnessFn :: CircomWitnessCalc ( witness_fn) ,
125117 serde_json:: to_string ( & inputs) . unwrap ( ) ,
126118 zkey_path,
127119 ) ?;
128- let duration = start. elapsed ( ) ;
129- println ! ( "semaphore proof time: {:?}" , duration. as_micros( ) ) ;
130120
131121 Ok ( SemaphoreProof {
132122 merkle_tree_depth,
@@ -403,7 +393,6 @@ mod tests {
403393 #[ test]
404394 fn test_verify_proof_with_different_depth ( ) {
405395 for depth in MIN_TREE_DEPTH ..=MAX_TREE_DEPTH {
406- println ! ( "Testing depth: {}" , depth) ;
407396 let identity = Identity :: new ( "secret" . as_bytes ( ) ) ;
408397 let group =
409398 Group :: new ( & [ MEMBER1 , MEMBER2 , to_element ( * identity. commitment ( ) ) ] ) . unwrap ( ) ;
0 commit comments