This commit is contained in:
Lex Berezhny 2019-07-17 21:59:19 -04:00
parent 046459a72d
commit d5f8af471a

View file

@ -125,8 +125,6 @@ def measure(func):
start = time.perf_counter() start = time.perf_counter()
try: try:
return func(*args, **kwargs) return func(*args, **kwargs)
except:
raise
finally: finally:
elapsed = int((time.perf_counter()-start)*1000) elapsed = int((time.perf_counter()-start)*1000)
metric['total'] = elapsed metric['total'] = elapsed