From 8f14bbdaf6ec32bc533fbb9f23662c51d6620af7 Mon Sep 17 00:00:00 2001 From: Jesus Cea Date: Mon, 25 Apr 2011 03:24:08 +0200 Subject: [PATCH] pybench prep_times calculation error (closes #11895) --- Misc/ACKS | 1 + Tools/pybench/pybench.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Misc/ACKS b/Misc/ACKS index 6a4fdd5959d..7842fa24a95 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 bee0e560bb2..9f1e2e4db0d 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()