[pypy-svn] r72187 - pypy/benchmarks

xoraxax at codespeak.net xoraxax at codespeak.net
Fri Mar 12 21:59:06 CET 2010


Author: xoraxax
Date: Fri Mar 12 21:59:04 2010
New Revision: 72187

Modified:
   pypy/benchmarks/runner.py
Log:
Derive correct name for psyco run.

Modified: pypy/benchmarks/runner.py
==============================================================================
--- pypy/benchmarks/runner.py	(original)
+++ pypy/benchmarks/runner.py	Fri Mar 12 21:59:04 2010
@@ -38,11 +38,15 @@
             name = "pypy-c"
         else:
             name = "pypy-c-jit"
+        optionsname = "gc=hybrid"
+        if "psyco.sh" in args:
+            name = "python-psyco-profile"
+            optionsname = ""
         if force_host is not None:
             host = force_host
         else:
             host = socket.gethostname()
-        save('pypy', revision, res, options, branch, name, "gc=hybrid", host)
+        save('pypy', revision, res, options, branch, name, optionsname, host)
 
 BENCHMARK_SET = ['richards', 'slowspitfire', 'django', 'spambayes',
                  'rietveld', 'html5lib', 'ai']



More information about the Pypy-commit mailing list