mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Performance: Crude comparison script bugfix
- Compare timings as integer values, not strings.
This commit is contained in:
parent
112621ef13
commit
7119c42780
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue