From 962b2afb857a40742bbb5d0fcf86e65bc1a388d4 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sat, 10 Sep 2011 18:22:57 +0000 Subject: [PATCH] fix ms output --- utils/performance/howfast.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/performance/howfast.py b/utils/performance/howfast.py index b99117d6c..cc74c6a0a 100755 --- a/utils/performance/howfast.py +++ b/utils/performance/howfast.py @@ -23,8 +23,8 @@ def test(): TOTAL_TIME += (time.time() - start) def f_(set): - min_ = str(min(set*1000))[:6] - avg = str(sum(set*1000)/len(set))[:6] + min_ = str(min(set)*1000)[:6] + avg = str((sum(set)/len(set))*1000)[:6] print 'min: %sms | avg: %sms | total: %ss' % (min_,avg,str(TOTAL_TIME)[:6]) if __name__=='__main__':