mirror of
https://github.com/sharkdp/hyperfine.git
synced 2024-09-11 14:07:02 +03:00
Add number of runs to advanced_statistics.py
This commit is contained in:
parent
176275ecab
commit
bcd3705ce0
@ -23,6 +23,7 @@ for command, ts in zip(commands, times):
|
||||
iqr = p75 - p25
|
||||
|
||||
print("Command '{}'".format(command))
|
||||
print(" runs: {:8d}".format(len(ts)))
|
||||
print(" mean: {:8.3f} s".format(np.mean(ts)))
|
||||
print(" stddev: {:8.3f} s".format(np.std(ts, ddof=1)))
|
||||
print(" median: {:8.3f} s".format(np.median(ts)))
|
||||
|
Loading…
Reference in New Issue
Block a user