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:
Matthias Einwag
2021-03-18 20:08:33 +00:00
committed by Benjamin Saunders
parent 99459cf64d
commit ff79550cd8
+2 -2
View File
@@ -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}%",