mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
bencher: pretty-print RSS
This commit is contained in:
parent
3d9a35d376
commit
98ce4ca019
5 changed files with 35 additions and 7 deletions
|
|
@ -1,5 +1,6 @@
|
|||
use std::rc::Rc;
|
||||
|
||||
use humanize_bytes::humanize_bytes_binary;
|
||||
use indexmap::IndexMap;
|
||||
use num_format::{Locale, ToFormattedString};
|
||||
|
||||
|
|
@ -207,8 +208,8 @@ impl LoadTestRunResults {
|
|||
r.tracker_process_stats.avg_cpu_utilization,
|
||||
);
|
||||
println!(
|
||||
"- Peak tracker RSS: {} kB",
|
||||
r.tracker_process_stats.peak_rss_kb
|
||||
"- Peak tracker RSS: {}",
|
||||
humanize_bytes_binary!(r.tracker_process_stats.peak_rss_bytes)
|
||||
);
|
||||
|
||||
LoadTestRunResults::Success(LoadTestRunResultsSuccess {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue