[pypy-svn] r71131 - pypy/build/bot2/pypybuildbot

fijal at codespeak.net fijal at codespeak.net
Sat Feb 6 19:35:17 CET 2010


Author: fijal
Date: Sat Feb  6 19:35:16 2010
New Revision: 71131

Modified:
   pypy/build/bot2/pypybuildbot/builds.py
Log:
Add a step that runs benchmarks agains pypy without jit as well


Modified: pypy/build/bot2/pypybuildbot/builds.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/builds.py	(original)
+++ pypy/build/bot2/pypybuildbot/builds.py	Sat Feb  6 19:35:16 2010
@@ -166,7 +166,7 @@
             workdir='.'))
         self.addStep(Translate(['-Ojit'], []))
         self.addStep(ShellCmd(
-            description="run more benchmarks",
+            description="run more benchmarks on top of pypy-c-jit",
             command=["python", "runner.py", '--output-filename', 'result.json',
                     '--pypy-c', '../build/pypy/translator/goal/pypy-c',
                      '--revision', WithProperties('%(got_revision)s')],
@@ -178,7 +178,20 @@
                                          masterdest=WithProperties(resfile),
                                          workdir="."))
         self.addStep(ShellCmd(
-            description="run benchmarks 1",
+            description="run more benchmarks on top of pypy-c no jit",
+            command=["python", "runner.py", '--output-filename', 'result.json',
+                    '--pypy-c', '../build/pypy/translator/goal/pypy-c',
+                     '--revision', WithProperties('%(got_revision)s'),
+                     '--args', ',--jit threshold=1000000000'],
+            workdir='./benchmarks',
+            haltOnFailure=True))
+        resfile = os.path.expanduser("~/bench_results_nojit/%(got_revision)s.json")
+        self.addStep(transfer.FileUpload(slavesrc="benchmarks/result.json",
+                                         masterdest=WithProperties(resfile),
+                                         workdir="."))
+        
+        self.addStep(ShellCmd(
+            descritpion="run benchmarks 1",
             command=["python", "pypy/translator/benchmark/jitbench.py",
                      "pypy/translator/goal/pypy-c"]))
 



More information about the Pypy-commit mailing list