From 7119c4278035b5962efa5aa43c8fe025451429dc Mon Sep 17 00:00:00 2001 From: Wilhelm Schuermann Date: Fri, 30 Oct 2015 09:34:40 +0100 Subject: [PATCH] Performance: Crude comparison script bugfix - Compare timings as integer values, not strings. --- performance/compare_runs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/performance/compare_runs.py b/performance/compare_runs.py index cf4779342..c8b961c1b 100755 --- a/performance/compare_runs.py +++ b/performance/compare_runs.py @@ -43,7 +43,7 @@ def get_best(tests): for command in tests: best[command] = {} 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