[pypy-svn] r37522 - pypy/dist/pypy/jit/codegen/demo
arigo at codespeak.net
arigo at codespeak.net
Mon Jan 29 12:39:28 CET 2007
Author: arigo
Date: Mon Jan 29 12:39:27 2007
New Revision: 37522
Modified:
pypy/dist/pypy/jit/codegen/demo/conftest.py
pypy/dist/pypy/jit/codegen/demo/test_random.py
Log:
'dump' is a very slow backend too.
Modified: pypy/dist/pypy/jit/codegen/demo/conftest.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/demo/conftest.py (original)
+++ pypy/dist/pypy/jit/codegen/demo/conftest.py Mon Jan 29 12:39:27 2007
@@ -25,3 +25,6 @@
dest="n_vars",
help="supply this many randomly-valued arguments to the function"),
)
+
+very_slow_backends = {'llgraph': True,
+ 'dump': True}
Modified: pypy/dist/pypy/jit/codegen/demo/test_random.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/demo/test_random.py (original)
+++ pypy/dist/pypy/jit/codegen/demo/test_random.py Mon Jan 29 12:39:27 2007
@@ -89,7 +89,7 @@
'print dummyfn(10000, *args)\n' % (src, args))
exec src.compile()
- if demo_conftest.option.backend == 'llgraph':
+ if demo_conftest.option.backend in demo_conftest.very_slow_backends:
iterations = 50
else:
iterations = 10000
More information about the Pypy-commit
mailing list