summaryrefslogtreecommitdiff
path: root/obbenchlib/templates/index.j2
blob: 84dbb1c24231a082ad9fd1fe8507bf31f48784b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<html>
  <head>
    <title>Obnam benchmarks</title>
    <link rel="stylesheet" href="obbench.css" type="text/css" />
  </head>
  <body>
    <h1>Obnam benchmarks</h1>
    {{ description|safe }}
    <table>
      <tr>
        <th>date</th>
        <th>commit</th>
        {% for name in benchmark_names %}
        <th>{{ name }}</th>
        {% endfor %}
      </tr>
      {% for row in results_table %}
      <tr>
        <td>{{ row.commit_date }}</td>
        <td>{{ '%.7s'|format(row.commit_id) }}</td>
        {% for name in benchmark_names %}
        <td><a href="{{ name }}.html">{{ '%.1f'|format(row[name]) }}</a></td>
        {% endfor %}
      </tr>
      {% endfor %}
    </table>

    <h2>Spec file</h2>
    <p><pre>{{ spec }}</pre></p>
  </body>
</html>