web/app/views/index/_benchmarks_table.html.erb
author Marcel Hlopko <marcel.hlopko@gmail.com>
Sat, 22 Jun 2013 15:02:47 +0200
changeset 70 e9c892b1c82b
parent 65 a37ce193f555
child 128 b0083f806b57
permissions -rw-r--r--
nicer tables, useless graph removed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
70
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
     1
<div>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
     2
  <table class="table table-condensed">
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
     3
    <thead>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
     4
      <tr>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
     5
        <th>Benchmark</th>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
     6
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
     7
        <th>Max [ms]</th>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
     8
        <th>Avg [ms]</th>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
     9
        <th>Min [ms]</th>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
    10
      </tr>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
    11
    </thead>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
    12
    <tbody>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
    13
      <% results.benchmark_results.each do |result| %> 
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
    14
        <tr>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
    15
          <th><%= result.benchmark_info.name %></th>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
    16
          <td><%= result.max_duration %></td>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
    17
          <td><%= result.average_duration %></td>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
    18
          <td><%= result.min_duration %></td>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
    19
        </tr>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
    20
      <% end %>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
    21
    </tbody>
e9c892b1c82b nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 65
diff changeset
    22
  </table>
63
33ab7e8188d0 fake graph for root page
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
diff changeset
    23
</div>