mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 17:00:18 +00:00
Rename peak memory metric to memory_peak_resident
This commit is contained in:
1 parent
0d86e78ede
commit
95118147af
10 files changed
+57
-54
No files matched your search
@@ -112,7 +112,7 @@ fn json_memory_availability_matches_platform() {
|
||||
assert!(output.status.success());
|
||||
let export: serde_json::Value = serde_json::from_slice(&output.stdout).unwrap();
|
||||
let measurement = &export["results"][0]["measurements"][0];
|
||||
let memory = measurement.get("peak_memory_usage");
|
||||
let memory = measurement.get("memory_peak_resident");
|
||||
if cfg!(windows) {
|
||||
assert!(memory.is_none(), "unavailable memory must be omitted");
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user