[pypy-svn] r76386 - pypy/benchmarks

fijal at codespeak.net fijal at codespeak.net
Thu Jul 29 14:53:10 CEST 2010


Author: fijal
Date: Thu Jul 29 14:53:08 2010
New Revision: 76386

Modified:
   pypy/benchmarks/benchmarks.py
Log:
The last attempt to make that work


Modified: pypy/benchmarks/benchmarks.py
==============================================================================
--- pypy/benchmarks/benchmarks.py	(original)
+++ pypy/benchmarks/benchmarks.py	Thu Jul 29 14:53:08 2010
@@ -47,7 +47,10 @@
              'spectral-norm', 'chaos', 'telco']:
     _register_new_bm(name, name, globals(), **opts.get(name, {}))
 for name in ['web', 'names', 'iteration', 'tcp', 'pb']:#, 'accepts']:
-    iteration_scaling = 1.0
+    if name == 'web':
+        iteration_scaling = 0.1
+    else:
+        iteration_scaling = 1.0
     _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