]> granicus.if.org Git - python/commitdiff
pybench prep_times calculation error (closes #11895)
authorJesus Cea <jcea@jcea.es>
Mon, 25 Apr 2011 01:20:54 +0000 (03:20 +0200)
committerJesus Cea <jcea@jcea.es>
Mon, 25 Apr 2011 01:20:54 +0000 (03:20 +0200)
Misc/ACKS
Tools/pybench/pybench.py

index c8e7e62645a3a5273a1dca3f34030a96a68773f8..e614e0d745e25bc8c602ec29bbb5a5ed7bbdc5e4 100644 (file)
--- 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
index 76f146875dc021aa6aa052cdccc9059080c013a5..7c0cf7b5ea8498a36b4a7aea680488498f52f62d 100755 (executable)
@@ -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