[pypy-svn] r76392 - in pypy/benchmarks: . own/twisted
fijal at codespeak.net
fijal at codespeak.net
Thu Jul 29 21:31:13 CEST 2010
Author: fijal
Date: Thu Jul 29 21:31:04 2010
New Revision: 76392
Modified:
pypy/benchmarks/benchmarks.py
pypy/benchmarks/own/twisted/benchlib.py
Log:
Try to come back essentially to the same number as we had before my changes
(but shift from duration -> number of iterations, so interface changing
can kick in)
Modified: pypy/benchmarks/benchmarks.py
==============================================================================
--- pypy/benchmarks/benchmarks.py (original)
+++ pypy/benchmarks/benchmarks.py Thu Jul 29 21:31:04 2010
@@ -48,7 +48,7 @@
_register_new_bm(name, name, globals(), **opts.get(name, {}))
for name in ['web', 'names', 'iteration', 'tcp', 'pb']:#, 'accepts']:
if name == 'web':
- iteration_scaling = 0.1
+ iteration_scaling = 0.35
else:
iteration_scaling = 1.0
_register_new_bm_twisted(name, 'twisted_' + name,
Modified: pypy/benchmarks/own/twisted/benchlib.py
==============================================================================
--- pypy/benchmarks/own/twisted/benchlib.py (original)
+++ pypy/benchmarks/own/twisted/benchlib.py Thu Jul 29 21:31:04 2010
@@ -54,7 +54,7 @@
optParameters = [
('iterations', 'n', 1, 'number of iterations', int),
('duration', 'd', 1, 'duration of each iteration', float),
- ('warmup', 'w', 3, 'number of warmup iterations', int),
+ ('warmup', 'w', 15, 'number of warmup iterations', int),
]
options = BenchmarkOptions()
More information about the Pypy-commit
mailing list