[pypy-svn] r80090 - pypy/benchmarks

fijal at codespeak.net fijal at codespeak.net
Tue Dec 21 07:45:06 CET 2010


Author: fijal
Date: Tue Dec 21 07:45:04 2010
New Revision: 80090

Modified:
   pypy/benchmarks/benchmarks.py
Log:
Add mako benchmark


Modified: pypy/benchmarks/benchmarks.py
==============================================================================
--- pypy/benchmarks/benchmarks.py	(original)
+++ pypy/benchmarks/benchmarks.py	Tue Dec 21 07:45:04 2010
@@ -42,11 +42,12 @@
 opts = {
     'gcbench' : {'iteration_scaling' : .10},
     'waf'     : {'iteration_scaling' : .10},
+    'bm_mako' : {'bm_env': {'PYTHONPATH': relative('lib/mako')}},
 }
 
 for name in ['float', 'nbody_modified', 'meteor-contest', 'fannkuch',
              'spectral-norm', 'chaos', 'telco', 'go', 'pyflate-fast',
-             'raytrace-simple', 'crypto_pyaes', 'waf']:
+             'raytrace-simple', 'crypto_pyaes', 'waf', 'bm_mako']:
     _register_new_bm(name, name, globals(), **opts.get(name, {}))
 for name in ['names', 'iteration', 'tcp', 'pb']:#, 'accepts', 'web']:
     if name == 'web':



More information about the Pypy-commit mailing list