diff options
author | Jesus Cea <jcea@jcea.es> | 2011-04-25 01:20:54 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2011-04-25 01:20:54 (GMT) |
commit | f93bb262eb52803cad52b87728f5c8094207c2cb (patch) | |
tree | 34ad56f91284c8573537333d12d7937b12f0b776 /Tools | |
parent | 3f2b18495b03f0a7dbacefade0f32d41c410e529 (diff) | |
download | cpython-f93bb262eb52803cad52b87728f5c8094207c2cb.zip cpython-f93bb262eb52803cad52b87728f5c8094207c2cb.tar.gz cpython-f93bb262eb52803cad52b87728f5c8094207c2cb.tar.bz2 |
pybench prep_times calculation error (closes #11895)
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/pybench/pybench.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/pybench/pybench.py b/Tools/pybench/pybench.py index 76f1468..7c0cf7b 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 |