Author: Antonio Cuni <[email protected]>
Branch:
Changeset: r138:e9ec714eea98
Date: 2011-07-27 09:21 +0200
http://bitbucket.org/pypy/benchmarks/changeset/e9ec714eea98/
Log: log what we are running
diff --git a/benchmarks.py b/benchmarks.py
--- a/benchmarks.py
+++ b/benchmarks.py
@@ -1,5 +1,5 @@
-
import os
+import logging
from unladen_swallow.perf import SimpleBenchmark, MeasureGeneric
def relative(*args):
@@ -118,6 +118,7 @@
translate_py = relative('lib/pypy/pypy/translator/goal/translate.py')
#targetnop =
relative('lib/pypy/pypy/translator/goal/targetnopstandalone.py')
args = base_python + [translate_py, '--source', '--dont-write-c-files',
'-O2']
+ logging.info('Running %s', ' '.join(args))
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
out, err = proc.communicate()
retcode = proc.poll()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit