[pypy-commit] benchmarks default: log what we are running

antocuni noreply at buildbot.pypy.org
Wed Jul 27 09:21:29 CEST 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
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()


More information about the pypy-commit mailing list