tests: make a stab at approximating wall-clock times
Vaguely empirical observations:
* ".py" tests are about an order of magnitude faster than ".t" tests
* dividing size by 1000 gives an approximation to wall-clock
run time (in seconds) that is not completely ridiculous.
--- a/tests/run-tests.py Mon Jan 04 21:54:46 2016 -0800
+++ b/tests/run-tests.py Mon Jan 04 21:54:46 2016 -0800
@@ -1861,7 +1861,9 @@
for kw, mul in slow.items():
if kw in f:
val *= mul
- perf[f] = val
+ if f.endswith('.py'):
+ val /= 10.0
+ perf[f] = val / 1000.0
return perf[f]
tests.sort(key=sortkey)