[pypy-svn] r71827 - pypy/benchmarks

fijal at codespeak.net fijal at codespeak.net
Fri Mar 5 19:56:57 CET 2010


Author: fijal
Date: Fri Mar  5 19:56:56 2010
New Revision: 71827

Modified:
   pypy/benchmarks/benchmarks.py
Log:
Reintroduce accepts


Modified: pypy/benchmarks/benchmarks.py
==============================================================================
--- pypy/benchmarks/benchmarks.py	(original)
+++ pypy/benchmarks/benchmarks.py	Fri Mar  5 19:56:56 2010
@@ -41,13 +41,8 @@
 for name in ['float', 'nbody_modified', 'meteor-contest', 'fannkuch',
              'spectral-norm', 'chaos', 'telco']:
     _register_new_bm(name, name, globals(), **opts.get(name, {}))
-for name in ['web', 'names', 'iteration', 'tcp', 'pb']: # accepts
-    if name == 'accepts':
-        iteration_scaling = .07
-    elif name == 'web':
-        iteration_scaling = .12
-    else:
-        iteration_scaling = .20
+for name in ['web', 'names', 'iteration', 'tcp', 'pb', 'accepts']:
+    iteration_scaling = .20
     _register_new_bm_twisted(name, 'twisted_' + name,
                      globals(), bm_env={'PYTHONPATH': ':'.join(TWISTED)},
                                  iteration_scaling=iteration_scaling)



More information about the Pypy-commit mailing list