|
What exactly is the In other words, for this output {
"results": [
{
"command": "my command",
"mean": 0.042425522800000004,
"stddev": 0.0012753653405051045,
"median": 0.042866266,
"user": 0.0436844,
"system": 0.139675,
"min": 0.040239074,
"max": 0.043487722,
"times": [
0.042866266,
0.042476109000000005,
0.040239074,
0.043487722,
0.043058443
],
"memory_usage_byte": [
235024384,
237850624,
241963008,
241963008,
241963008
],
"exit_codes": [
0,
0,
0,
0,
0
]
}
]
}That result was from a run on a Ubuntu 24. I have some guesses but I wanted to confirm. |
Answered by
jtmoon79
Jan 18, 2026
Replies: 1 comment
|
It comes from hyperfine/src/timer/unix_timer.rs Line 46 in 975fe10 // Linux and *BSD return the value in KibiBytes, Darwin flavors in bytes
let max_rss_byte = if cfg!(target_os = "macos") || cfg!(target_os = "ios") {
result.ru_maxrss
} else {
result.ru_maxrss * 1024
};The The So
|
0 replies
Answer selected by
jtmoon79
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It comes from
hyperfine/src/timer/unix_timer.rs
Line 46 in 975fe10
The
resultis fromlibc::getrusagewhich calls Linuxgetrusage.The
resulthas structure