Commit 63d531a8 authored by Russ Cox's avatar Russ Cox

dashboard: build most recent revision first

Will fill dashboard down the screen instead of up
when builders get stuck and resume.  Already live.

Also delete dead benchmark code.
I think it is safe to say that if/when we bring
benchmarks back, we will use a different
data model.

Fixes #1228.

R=adg
CC=golang-dev
https://golang.org/cl/4449059
parent 43b97ce6
<!DOCTYPE HTML>
<html>
<head>
<title>{{benchmark}} - Benchmarks - Go Dashboard</title>
<link rel="stylesheet" type="text/css" href="/static/style.css">
</head>
<body>
<ul class="menu">
<li><a href="/">Build Status</a></li>
<li><a href="/package">Packages</a></li>
<li><a href="/project">Projects</a></li>
<li><a href="/benchmarks">Benchmarks</a></li>
<li><a href="http://golang.org/">golang.org</a></li>
</ul>
<h1>Go Dashboard</h1>
<h2>{{benchmark}}</h2>
<a href="{{benchmark}}?fmt=json">json</a>
{% for g in graphs %}
<h3>{{g.builder}}</h3>
{% if g.url %}
<img src="{{g.url}}&chs=600x150&chf=bg,s,00000000&chco=000000ff&chls=1,1,0">
{% else %}
(no data available)
{% endif %}
{% endfor %}
<br><br>
<table class="alternate" cellpadding="0" cellspacing="0">
<tr>
<th></th>
{% for b in builders %}
<th class="builder">{{b.goos}}<br>{{b.goarch}}<br>{{b.note}}</th>
{% endfor %}
<th></th>
<th></th>
<th></th>
</tr>
{% for r in revs %}
<tr>
<td class="revision"><span class="hash"><a href="https://code.google.com/p/go/source/detail?r={{r.node}}">{{r.node|slice:":12"}}</a></span></td>
{% for ns in r.ns_by_builder %}
<td class="result">
{% if ns %}
{{ns}}
{% endif %}
</td>
{% endfor %}
<td class="user">{{r.user|escape}}</td>
<td class="date">{{r.date|escape}}</td>
<td class="desc">{{r.shortdesc|escape}}</td>
</tr>
{% endfor %}
</body>
</html>
<!DOCTYPE HTML>
<html>
<head>
<title>Benchmarks - Go Dashboard</title>
<link rel="stylesheet" type="text/css" href="/static/style.css">
</head>
<body>
<ul class="menu">
<li><a href="/">Build Status</a></li>
<li><a href="/package">Packages</a></li>
<li><a href="/project">Projects</a></li>
<li>Benchmarks</li>
<li><a href="http://golang.org/">golang.org</a></li>
</ul>
<h1>Go Dashboard</h1>
<h2>Benchmarks</h2>
<table class="alternate" cellpadding="0" cellspacing="0">
<tr>
<th></th>
{% for b in builders %}
<th class="builder">{{b.goos}}<br>{{b.goarch}}<br>{{b.note}}</th>
{% endfor %}
</tr>
{% for bm in rows %}
<tr>
<td class="name"><a href="/benchmarks/{{bm.name}}">{{bm.name}}</a></td>
{% for bl in bm.builders %}
<td class="result">
{% if bl.url %}
<img src="{{bl.url}}" />
{% else %}
<img src="/benchmarks/single?benchmark={{bm.name}}&builder={{bl.name}}" />
{% endif %}
</td>
{% endfor %}
</tr>
{% endfor %}
</table>
</body>
</html>
This diff is collapsed.
......@@ -12,7 +12,6 @@
<li>Build Status</li>
<li><a href="/package">Packages</a></li>
<li><a href="/project">Projects</a></li>
<!-- <li><a href="/benchmarks">Benchmarks</a></li> -->
<li><a href="http://golang.org/">golang.org</a></li>
</ul>
......
......@@ -10,7 +10,6 @@
<li><a href="/">Build Status</a></li>
<li>Packages</li>
<li><a href="/project">Projects</a></li>
<!-- <li><a href="/benchmarks">Benchmarks</a></li> -->
<li><a href="http://golang.org/">golang.org</a></li>
</ul>
......
......@@ -14,7 +14,6 @@
<li><a href="/">Build Status</a></li>
<li><a href="/package">Packages</a></li>
<li>Projects</li>
<!-- <li><a href="/benchmarks">Benchmarks</a></li> -->
<li><a href="http://golang.org/">golang.org</a></li>
</ul>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment