[pypy-svn] r59749 - pypy/build/benchmem
hpk at codespeak.net
hpk at codespeak.net
Thu Nov 6 20:35:36 CET 2008
Author: hpk
Date: Thu Nov 6 20:35:34 2008
New Revision: 59749
Modified:
pypy/build/benchmem/runbench.py
Log:
log some more context, add benchmark types to default run
Modified: pypy/build/benchmem/runbench.py
==============================================================================
--- pypy/build/benchmem/runbench.py (original)
+++ pypy/build/benchmem/runbench.py Thu Nov 6 20:35:34 2008
@@ -62,7 +62,9 @@
print >>self.logstream
def log(self, *args):
- print " ".join(map(str, args))
+ benchtype = getattr(self, 'benchtype', '?')
+ executable = getattr(self, 'executable', '?')
+ print "%s/%s: %s" %(executable, benchtype, " ".join(map(str, args)))
class BenchRunnerBaseSize(BenchRunner):
@@ -597,7 +599,7 @@
benchlog = getbenchlog(options)
if not args:
- args = ("objsizes", "basesize")
+ args = ("objsizes", "basesize", "basetime", "appprofiles", "pauses")
for executable in getexecutables(options):
for benchtype in args:
Runner = getrunnerclass(benchtype)
More information about the Pypy-commit
mailing list