cpython: e4fcfb8066ff (original) (raw)
Mercurial > cpython
changeset 69545:e4fcfb8066ff 2.7
pybench prep_times calculation error (closes #11895) [#11895]
Jesus Cea jcea@jcea.es | |
---|---|
date | Mon, 25 Apr 2011 03:20:54 +0200 |
parents | c64c41974d1f |
children | 48758cd0769b |
files | Misc/ACKS Tools/pybench/pybench.py |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-)[+] [-] Misc/ACKS 1 Tools/pybench/pybench.py 2 |
line wrap: on
line diff
--- a/Misc/ACKS +++ b/Misc/ACKS @@ -795,6 +795,7 @@ Steven Taschuk Monty Taylor Amy Taylor Anatoly Techtonik +Mikhail Terekhov Tobias Thelen James Thomas Robin Thomas
--- a/Tools/pybench/pybench.py +++ b/Tools/pybench/pybench.py @@ -278,7 +278,7 @@ class Test: for i in calibration_loops: pass t = timer() - t
prep_times.append(t)[](#l2.7)
prep_times.append(t / CALIBRATION_LOOPS)[](#l2.8) min_prep_time = min(prep_times)[](#l2.9) if _debug:[](#l2.10) print[](#l2.11)