Skip to content

Commit

Permalink
some results and more println
Browse files Browse the repository at this point in the history
  • Loading branch information
dailinsubjam committed Mar 26, 2024
1 parent b5d0d97 commit f713fd1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/examples/infra/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -570,10 +570,10 @@ pub trait RunDA<
let mut total_latency = 0;
let mut num_latency = 0;

debug!("Sleeping for {start_delay_seconds} seconds before starting hotshot!");
println!("Sleeping for {start_delay_seconds} seconds before starting hotshot!");
async_sleep(Duration::from_secs(start_delay_seconds)).await;

debug!("Starting HotShot example!");
println!("Starting HotShot example!");
let start = Instant::now();

let mut event_stream = context.get_event_stream();
Expand Down Expand Up @@ -603,7 +603,7 @@ pub trait RunDA<
// this might be a obob
if let Some(leaf_info) = leaf_chain.first() {
let leaf = &leaf_info.leaf;
info!("Decide event for leaf: {}", *leaf.view_number);
println!("Decide event for leaf: {}", *leaf.view_number);

// iterate all the decided transactions to calculate latency
if let Some(block_payload) = &leaf.block_payload {
Expand Down
6 changes: 6 additions & 0 deletions scripts/benchmarks_results/results_init_run.csv
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,9 @@ commit_sha,total_nodes,da_committee_size,transactions_per_round,transaction_size
test,100,100,100,528,100,hotshot::traits::election::static_committee::StaticElectionConfig,8,4,11,1667,300,95,99,0
commit_sha,total_nodes,da_committee_size,transactions_per_round,transaction_size,rounds,leader_election_type,avg_latency_in_sec,minimum_latency_in_sec,maximum_latency_in_sec,throughput_bytes_per_sec,total_transactions_committed,total_time_elapsed_in_sec,total_num_views,failed_num_views
test,100,100,100,4112,100,hotshot::traits::election::static_committee::StaticElectionConfig,8,6,11,13014,307,97,99,0
commit_sha,total_nodes,da_committee_size,transactions_per_round,transaction_size,rounds,leader_election_type,avg_latency_in_sec,minimum_latency_in_sec,maximum_latency_in_sec,throughput_bytes_per_sec,total_transactions_committed,total_time_elapsed_in_sec,total_num_views,failed_num_views
test_large_tx_local,10,5,1,2000016,10,hotshot::traits::election::static_committee::StaticElectionConfig,25,11,44,977785,22,45,9,0
commit_sha,total_nodes,da_committee_size,transactions_per_round,transaction_size,rounds,leader_election_type,avg_latency_in_sec,minimum_latency_in_sec,maximum_latency_in_sec,throughput_bytes_per_sec,total_transactions_committed,total_time_elapsed_in_sec,total_num_views,failed_num_views
nginx_script_test,10,5,1,1000016,20,hotshot::traits::election::static_committee::StaticElectionConfig,36,6,83,1317668,112,85,19,0
commit_sha,total_nodes,da_committee_size,transactions_per_round,transaction_size,rounds,leader_election_type,avg_latency_in_sec,minimum_latency_in_sec,maximum_latency_in_sec,throughput_bytes_per_sec,total_transactions_committed,total_time_elapsed_in_sec,total_num_views,failed_num_views
test50nodes,50,5,1,1000016,20,hotshot::traits::election::static_committee::StaticElectionConfig,26,6,58,2372919,140,60,19,0

0 comments on commit f713fd1

Please sign in to comment.