From 8f14bbdaf6ec32bc533fbb9f23662c51d6620af7 Mon Sep 17 00:00:00 2001 From: Jesus Cea Date: Mon, 25 Apr 2011 03:24:08 +0200 Subject: 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 6a4fdd5..7842fa2 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 bee0e56..9f1e2e4 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() -- cgit v0.12