fix ms output
This commit is contained in:
parent
3ad234bce8
commit
962b2afb85
1 changed files with 2 additions and 2 deletions
|
@ -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__':
|
||||
|
|
Loading…
Reference in a new issue