mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-28 16:18:57 +00:00
Add number of runs to advanced_statistics.py
This commit is contained in:
1 parent
176275ecab
commit
bcd3705ce0
1 file changed
+1
@@ -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)))
|
||||
|
||||
Reference in new issue
Block a user