From: Jesus Cea Date: Mon, 25 Apr 2011 01:24:08 +0000 (+0200) Subject: pybench prep_times calculation error (closes #11895) X-Git-Tag: v3.2.1b1~81^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f14bbdaf6ec32bc533fbb9f23662c51d6620af7;p=python pybench prep_times calculation error (closes #11895) --- diff --git a/Misc/ACKS b/Misc/ACKS index 6a4fdd5959..7842fa24a9 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -794,6 +794,7 @@ Christian Tanzer Steven Taschuk Monty Taylor Amy Taylor +Mikhail Terekhov Tobias Thelen James Thomas Robin Thomas diff --git a/Tools/pybench/pybench.py b/Tools/pybench/pybench.py index bee0e560bb..9f1e2e4db0 100755 --- a/Tools/pybench/pybench.py +++ b/Tools/pybench/pybench.py @@ -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()