mirror of https://github.com/python/cpython
pybench prep_times calculation error (closes #11895)
This commit is contained in:
commit
b32321aed9
|
@ -852,6 +852,7 @@ Steven Taschuk
|
|||
Monty Taylor
|
||||
Amy Taylor
|
||||
Anatoly Techtonik
|
||||
Mikhail Terekhov
|
||||
Tobias Thelen
|
||||
James Thomas
|
||||
Robin Thomas
|
||||
|
|
|
@ -276,7 +276,7 @@ class Test:
|
|||
for i in calibration_loops:
|
||||
pass
|
||||
t = timer() - t
|
||||
prep_times.append(t)
|
||||
prep_times.append(t / CALIBRATION_LOOPS)
|
||||
min_prep_time = min(prep_times)
|
||||
if _debug:
|
||||
print()
|
||||
|
|
Loading…
Reference in New Issue