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__':