From 4c7ea5d0407d8f0582b24d237302a46787bbd94f Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 6 Feb 2016 10:46:47 +0200 Subject: Fix index.j2 to handle multiple benchmarks --- obbenchlib/templates/index.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'obbenchlib') 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 @@ {{ row.commit_date }} {{ '%.7s'|format(row.commit_id) }} {% for name in benchmark_names %} + {% if name in row %} {{ '%.1f'|format(row[name]) }} + {% endif %} {% endfor %} {% endfor %} -- cgit v1.2.1