mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-20 18:23:41 +00:00
Print perf_client RPS in floating point format
For large requests and high latency connections the number showed 0 most of the time which isn't too helpful.
This commit is contained in:
committed by
Benjamin Saunders
parent
99459cf64d
commit
ff79550cd8
@@ -453,8 +453,8 @@ impl Stats {
|
||||
|
||||
println!("Overall stats:");
|
||||
println!(
|
||||
"RPS: {} ({} requests in {:4.2?})",
|
||||
rps as usize, self.requests, dt,
|
||||
"RPS: {:.2} ({} requests in {:4.2?})",
|
||||
rps, self.requests, dt,
|
||||
);
|
||||
println!(
|
||||
"Success rate: {:4.2}%",
|
||||
|
||||
Reference in New Issue
Block a user