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
|
Monty Taylor
|
||||||
Amy Taylor
|
Amy Taylor
|
||||||
Anatoly Techtonik
|
Anatoly Techtonik
|
||||||
|
Mikhail Terekhov
|
||||||
Tobias Thelen
|
Tobias Thelen
|
||||||
James Thomas
|
James Thomas
|
||||||
Robin Thomas
|
Robin Thomas
|
||||||
|
|
|
@ -276,7 +276,7 @@ class Test:
|
||||||
for i in calibration_loops:
|
for i in calibration_loops:
|
||||||
pass
|
pass
|
||||||
t = timer() - t
|
t = timer() - t
|
||||||
prep_times.append(t)
|
prep_times.append(t / CALIBRATION_LOOPS)
|
||||||
min_prep_time = min(prep_times)
|
min_prep_time = min(prep_times)
|
||||||
if _debug:
|
if _debug:
|
||||||
print()
|
print()
|
||||||
|
|
Loading…
Reference in New Issue