[pypy-commit] buildbot default: add benchmark-results link for raw benchmark json files, add py3.7 to header
mattip
pypy.commits at gmail.com
Mon Jan 27 05:24:10 EST 2020
Author: Matti Picus <matti.picus at gmail.com>
Branch:
Changeset: r1128:f0a851a717e3
Date: 2020-01-27 11:44 +0200
http://bitbucket.org/pypy/buildbot/changeset/f0a851a717e3/
Log: add benchmark-results link for raw benchmark json files, add py3.7
to header
diff --git a/bot2/pypybuildbot/master.py b/bot2/pypybuildbot/master.py
--- a/bot2/pypybuildbot/master.py
+++ b/bot2/pypybuildbot/master.py
@@ -14,6 +14,7 @@
from pypybuildbot.util import we_are_debugging, isRPython
from buildbot.changes import filter
from buildbot.changes.hgpoller import HgPoller
+from twisted.web.static import File
# Forbid "force build" with empty user name
class CustomForceScheduler(ForceScheduler):
@@ -91,6 +92,7 @@
status.putChild('nightly', PyPyList(os.path.expanduser('~/nightly'),
defaultType='application/octet-stream'))
status.putChild('numpy-status', NumpyStatusList(os.path.expanduser('~/numpy_compat')))
+status.putChild('benchmark-results', File(os.path.expanduser('~/bench_results')))
pypybuilds = load('pypybuildbot.builds')
diff --git a/master/templates/layout.html b/master/templates/layout.html
--- a/master/templates/layout.html
+++ b/master/templates/layout.html
@@ -24,10 +24,11 @@
<div class="header">
<a href="{{ path_to_root or '.' }}">Home</a>
<!-- PyPy specific items -->
- - <a href="http://speed.pypy.org/">Speed</a>
+ - <!-- a href="http://speed.pypy.org/">Speed</a -->
- <!-- a href="{{ path_to_root }}numpy-status/">NumPy compatibility</a -->
- <a href="{{ path_to_root }}summary?branch=<trunk>">Summary (trunk)</a>
- <a href="{{ path_to_root }}summary?branch=py3.6">Summary (py3.6)</a>
+ - <a href="{{ path_to_root }}summary?branch=py3.7">Summary (py3.7)</a>
- <a href="{{ path_to_root }}summary">Summary</a>
- <a href="{{ path_to_root }}summary?builder=rpython-linux-x86-32&builder=rpython-linux-x86-64&builder=rpython-win-x86-32&builder=rpython-linux-aarch64">RPython</a>
- <a href="{{ path_to_root }}nightly/">Nightly builds</a>
diff --git a/master/templates/root.html b/master/templates/root.html
--- a/master/templates/root.html
+++ b/master/templates/root.html
@@ -42,6 +42,11 @@
The <a href="nightly/">Nightly Build</a> page contains precompiled PyPy
binaries.
</li>
+ <li class="{{ item_class.next() }}">
+ The <a href="benchmark-results/">benchmark results</a> page contains json
+ files from the benchmark runs, used for <a href="https://speed.pypy.org">
+ speed.pypy.org</a>
+ </li>
<!-- end of PyPy specific items -->
<li class="{{ item_class.next() }}">The <a href="waterfall">Waterfall Display</a> will give you a
More information about the pypy-commit
mailing list