From: Jesus Cea Date: Mon, 25 Apr 2011 01:20:54 +0000 (+0200) Subject: pybench prep_times calculation error (closes #11895) X-Git-Tag: v2.7.2rc1~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f93bb262eb52803cad52b87728f5c8094207c2cb;p=python pybench prep_times calculation error (closes #11895) --- diff --git a/Misc/ACKS b/Misc/ACKS index c8e7e62645..e614e0d745 100644 --- 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 diff --git a/Tools/pybench/pybench.py b/Tools/pybench/pybench.py index 76f146875d..7c0cf7b5ea 100755 --- 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) + prep_times.append(t / CALIBRATION_LOOPS) min_prep_time = min(prep_times) if _debug: print