Skip to content

Commit

Permalink
remove unnecessary now()
Browse files Browse the repository at this point in the history
  • Loading branch information
youngjoon-lee committed Sep 6, 2023
1 parent 1138117 commit 9934afa
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/src/benches/mixnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,11 @@ async fn send_receive_message<R: Rng>(
sender_client: &mut MixnetClient<R>,
destination_stream: &mut MessageStream,
) {
let start = Instant::now();

let res = sender_client.send(msg.to_vec(), Duration::ZERO);
assert!(res.is_ok());

let received = destination_stream.next().await.unwrap().unwrap();
assert_eq!(msg, received.as_slice());

println!("ELAPSED:{:?}", start.elapsed());
}

criterion_group!(
Expand Down

0 comments on commit 9934afa

Please sign in to comment.