Performance: Crude comparison script bugfix

- Compare timings as integer values, not strings.
This commit is contained in:
Wilhelm Schuermann 2015-10-30 09:34:40 +01:00
parent 112621ef13
commit 7119c42780

View file

@ -43,7 +43,7 @@ def get_best(tests):
for command in tests: for command in tests:
best[command] = {} best[command] = {}
for k in tests[command][0].timing: for k in tests[command][0].timing:
best[command][k] = min(k, *[t.timing[k] for t in tests[command]]) best[command][k] = str(min(int(t.timing[k]) for t in tests[command]))
return best return best