mirror of
https://github.com/python/cpython
synced 2024-09-19 21:21:40 +00:00
pybench prep_times calculation error (closes #11895)
This commit is contained in:
commit
4f711726be
|
@ -859,6 +859,7 @@ Steven Taschuk
|
|||
Monty Taylor
|
||||
Amy Taylor
|
||||
Anatoly Techtonik
|
||||
Mikhail Terekhov
|
||||
Tobias Thelen
|
||||
James Thomas
|
||||
Robin Thomas
|
||||
|
|
|
@ -276,7 +276,7 @@ def calibrate_test(self):
|
|||
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 a new issue