[pypy-svn] r47062 - pypy/dist/pypy/module/rbench
antocuni at codespeak.net
antocuni at codespeak.net
Mon Oct 1 10:48:19 CEST 2007
Author: antocuni
Date: Mon Oct 1 10:48:19 2007
New Revision: 47062
Added:
pypy/dist/pypy/module/rbench/
pypy/dist/pypy/module/rbench/__init__.py (contents, props changed)
pypy/dist/pypy/module/rbench/app_bench.py (contents, props changed)
Log:
this module contains geninterpreted version of pystone and
richards. Useful to measure the interpretation overhead of the various
pypy-*.
Added: pypy/dist/pypy/module/rbench/__init__.py
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/module/rbench/__init__.py Mon Oct 1 10:48:19 2007
@@ -0,0 +1,12 @@
+# Package initialisation
+from pypy.interpreter.mixedmodule import MixedModule
+
+class Module(MixedModule):
+ """geninterpreted benchmarks"""
+
+ appleveldefs = {
+ 'pystone': 'app_bench.pystone',
+ 'richards': 'app_bench.richards',
+ }
+
+ interpleveldefs = {}
Added: pypy/dist/pypy/module/rbench/app_bench.py
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/module/rbench/app_bench.py Mon Oct 1 10:48:19 2007
@@ -0,0 +1,2 @@
+from pypy.translator.test.rpystone import main as pystone
+from pypy.translator.goal.richards import main as richards
More information about the pypy-svn
mailing list