mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
pybench prep_times calculation error (closes #11895)
This commit is contained in:
parent
3f2b18495b
commit
f93bb262eb
2 changed files with 2 additions and 1 deletions
|
@ -795,6 +795,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
|
||||||
|
|
|
@ -278,7 +278,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…
Add table
Add a link
Reference in a new issue