[pypy-svn] r40057 - pypy/dist/pypy/translator/goal

mwh at codespeak.net mwh at codespeak.net
Thu Mar 8 11:35:18 CET 2007


Author: mwh
Date: Thu Mar  8 11:35:17 2007
New Revision: 40057

Modified:
   pypy/dist/pypy/translator/goal/bench-cronjob.py
Log:
include uname -a in the benchmark.html


Modified: pypy/dist/pypy/translator/goal/bench-cronjob.py
==============================================================================
--- pypy/dist/pypy/translator/goal/bench-cronjob.py	(original)
+++ pypy/dist/pypy/translator/goal/bench-cronjob.py	Thu Mar  8 11:35:17 2007
@@ -151,6 +151,7 @@
 
 def benchmark():
     os.chdir(homedir + '/projects/pypy-dist/pypy/translator/goal')
+    uname = os.popen('uname -a', 'r').read()
     startload = get_load()
     result = run('/usr/local/bin/withlock /tmp/cpu_cycles_lock /usr/local/bin/python bench-unix.py 2>&1 | tee benchmark.txt' % locals())
     endload = get_load()
@@ -158,6 +159,7 @@
         f = open('benchmark.html', 'w')
         print >> f, "<html><body>"
         print >> f, "<pre>"
+        print >> f, "uname -a:", uname
         print >> f, "Benchmark started:", startload
         print >> f, "            ended:", endload
         print >> f



More information about the Pypy-commit mailing list