diff options
author | Jesus Cea <jcea@jcea.es> | 2011-04-25 01:24:08 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2011-04-25 01:24:08 (GMT) |
commit | 8f14bbdaf6ec32bc533fbb9f23662c51d6620af7 (patch) | |
tree | a5ec232b2d35f99ba24149d4bbf9ac7b5fe048a4 /Tools/pybench | |
parent | 7365accc20a5dff590fe3d7af7ec01b7173a59ea (diff) | |
download | cpython-8f14bbdaf6ec32bc533fbb9f23662c51d6620af7.zip cpython-8f14bbdaf6ec32bc533fbb9f23662c51d6620af7.tar.gz cpython-8f14bbdaf6ec32bc533fbb9f23662c51d6620af7.tar.bz2 |
pybench prep_times calculation error (closes #11895)
Diffstat (limited to 'Tools/pybench')
-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 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() |