web/app/views/index/_benchmarks_table.html.erb
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 15 Jul 2013 00:54:11 +0100
changeset 128 b0083f806b57
parent 70 e9c892b1c82b
child 222 c98af04e13ce
permissions -rw-r--r--
Added operating system translations... ..to unify OS identification strings in the user interface.

<div>
  <table class="table table-condensed">
    <thead>
      <tr>
        <th>Benchmark</th>

        <th>Min [ms]</th>
        <th style="color: gray;">Avg [ms]</th>
        <th style="color: gray;">Max [ms]</th>
      </tr>
    </thead>
    <tbody>
      <% results.benchmark_results.each do |result| %> 
        <tr>
          <th><%= result.benchmark_info.name %></th>
          <td><%= result.min_duration %></td>
          <td style="color: gray;"><%= result.average_duration %></td>
          <td style="color: gray;"><%= result.max_duration %></td>
                    
        </tr>
      <% end %>
    </tbody>
  </table>
</div>