summaryrefslogtreecommitdiff
path: root/obbenchlib
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-02-06 10:46:47 +0200
committerLars Wirzenius <liw@liw.fi>2016-02-06 10:46:47 +0200
commit4c7ea5d0407d8f0582b24d237302a46787bbd94f (patch)
treea0fc8836a7015a89a979cb317e3f7941ed2164c5 /obbenchlib
parent003d8318397fa47f53c6af856639293ba2d70507 (diff)
downloadobnam-benchmarks-4c7ea5d0407d8f0582b24d237302a46787bbd94f.tar.gz
Fix index.j2 to handle multiple benchmarks
Diffstat (limited to 'obbenchlib')
-rw-r--r--obbenchlib/templates/index.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/obbenchlib/templates/index.j2 b/obbenchlib/templates/index.j2
index 84dbb1c..4d84a98 100644
--- a/obbenchlib/templates/index.j2
+++ b/obbenchlib/templates/index.j2
@@ -19,7 +19,9 @@
<td>{{ row.commit_date }}</td>
<td>{{ '%.7s'|format(row.commit_id) }}</td>
{% for name in benchmark_names %}
+ {% if name in row %}
<td><a href="{{ name }}.html">{{ '%.1f'|format(row[name]) }}</a></td>
+ {% endif %}
{% endfor %}
</tr>
{% endfor %}