[pypy-svn] r39763 - pypy/dist/pypy/translator/benchmark
mwh at codespeak.net
mwh at codespeak.net
Sat Mar 3 11:21:16 CET 2007
Author: mwh
Date: Sat Mar 3 11:21:07 2007
New Revision: 39763
Modified:
pypy/dist/pypy/translator/benchmark/bench-custom.py
Log:
add a --verbose options (which doesn't actually do anything yet, erm) and a
--no-cpython option.
Modified: pypy/dist/pypy/translator/benchmark/bench-custom.py
==============================================================================
--- pypy/dist/pypy/translator/benchmark/bench-custom.py (original)
+++ pypy/dist/pypy/translator/benchmark/bench-custom.py Sat Mar 3 11:21:07 2007
@@ -41,7 +41,8 @@
refs = {}
- exes = full_pythons + exes
+ if not options.nocpython:
+ exes = full_pythons + exes
for i in range(int(options.runcount)):
for exe in exes:
@@ -82,5 +83,13 @@
'--relto', dest='relto',
default=None,
)
+ parser.add_option(
+ '-v', '--verbose', action='store_true', dest='verbose',
+ default=None,
+ )
+ parser.add_option(
+ '--no-cpython', action='store_true', dest='nocpython',
+ default=None,
+ )
options, args = parser.parse_args(sys.argv[1:])
main(options, args)
More information about the Pypy-commit
mailing list