Skip to content

Commit

Permalink
mock correct size distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
grooviegermanikus committed May 2, 2024
1 parent 8e5b1b8 commit a6cb6bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/bench_geyser_grpc_accounts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ fn start_tracking_account_consumer(mut geyser_messages_rx: Receiver<Message>) {
if current_slot != slot {
info!("Slot: {}", slot);
if current_slot != 0 {
info!("Slot: {} - {:.2} MiB", slot, *bytes_per_slot.get(&current_slot).unwrap() as f64 / 1024.0 / 1024.0 );
info!("Slot: {} - account data transferred: {:.2} MiB", slot, *bytes_per_slot.get(&current_slot).unwrap() as f64 / 1024.0 / 1024.0 );

info!("Slot: {} - Updates: {}", slot, updates_per_slot.get(&current_slot).unwrap());
info!("Slot: {} - num of update messages: {}", slot, updates_per_slot.get(&current_slot).unwrap());

let counters = wallclock_updates_per_slot_account.iter()
.filter(|((slot, _pubkey), _)| slot == &current_slot)
Expand Down

0 comments on commit a6cb6bb

Please sign in to comment.