Skip to content

Commit

Permalink
Use burst mode because we sometime miss the tick causing client side …
Browse files Browse the repository at this point in the history
…throughtput to drop (MystenLabs#4937)
  • Loading branch information
sadhansood authored Oct 18, 2022
1 parent a15f438 commit 8a6a85c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sui-benchmark/src/drivers/bench_driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ impl Driver<BenchmarkStats> for BenchDriver {
hdrhistogram::Histogram::<u64>::new_with_max(100000, 2).unwrap();
let mut request_interval =
time::interval(Duration::from_micros(request_delay_micros));
request_interval.set_missed_tick_behavior(time::MissedTickBehavior::Delay);
request_interval.set_missed_tick_behavior(time::MissedTickBehavior::Burst);
let mut stat_interval = time::interval(Duration::from_micros(stat_delay_micros));
let mut futures: FuturesUnordered<BoxFuture<NextOp>> = FuturesUnordered::new();

Expand Down

0 comments on commit 8a6a85c

Please sign in to comment.