Add number of runs to advanced_statistics.py

This commit is contained in:
David Peter 2022-03-05 11:53:59 +01:00
parent 176275ecab
commit bcd3705ce0

View File

@ -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)))