Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distributed bench #1661

Merged
merged 24 commits into from
May 3, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove prints
  • Loading branch information
oxade committed Apr 27, 2022
commit aa01684584bb384cf7efb3fdd0fc8587459fdf7e
5 changes: 0 additions & 5 deletions sui/src/benchmark/multi_load_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ async fn send_tx_for_quorum(

tokio::spawn(async move {
send_tx_chunks_notif(notif, chunk, &mut ch_tx, net_client.clone(), stake, conn).await;
println!("Spawn for order {:?} with stake {}", net_client, stake);
});
}
drop(order_chann_tx);
Expand Down Expand Up @@ -128,7 +127,6 @@ async fn send_tx_for_quorum(
panic!("Quorum threshold not reached for orders")
}

println!("order {}", total);
// Confirmation step
let (conf_chann_tx, mut conf_chann_rx) = MpscChannel(net_clients.len() * 2);

Expand All @@ -139,7 +137,6 @@ async fn send_tx_for_quorum(
let mut chann_tx = conf_chann_tx.clone();
handles.push(tokio::spawn(async move {
let r = send_tx_chunks(chunk, net_client.clone(), conn).await;
println!("Spawn for conf {:?} with stake {}", net_client, stake);
match chann_tx.send((r.0, stake)).await {
Ok(_) => (),
Err(e) => {
Expand Down Expand Up @@ -174,8 +171,6 @@ async fn send_tx_for_quorum(
panic!("Quorum threshold not reached for confirmation")
}

println!("conf {}", total);

let elapsed = time_start.elapsed().as_micros();

// Send the total time over
Expand Down