--- a/web/app/views/index/_benchmarks_table.html.erb Sat Jun 22 10:27:23 2013 +0200
+++ b/web/app/views/index/_benchmarks_table.html.erb Sat Jun 22 15:02:47 2013 +0200
@@ -1,22 +1,23 @@
-<div class="<%= "line-chart flot bar-chart" if make_chart %>" data-stack="true" >
- <table class="table table-condensed">
- <thead>
- <tr>
- <th>Benchmarks</th>
- <% results.benchmark_results.each do |result| %>
- <th><%= "#{result.benchmark_info.name}" %></th>
- <% end %>
- </tr>
- </thead>
- <tbody>
- <% 5.times do |index| %>
- <tr>
- <th><%= index + 1 %></th>
- <% results.benchmark_results.each do |result| %>
- <td><%= result.benchmark_durations[index].duration %></td>
- <% end %>
- </tr>
- <% end %>
- </tbody>
- </table>
+<div>
+ <table class="table table-condensed">
+ <thead>
+ <tr>
+ <th>Benchmark</th>
+
+ <th>Max [ms]</th>
+ <th>Avg [ms]</th>
+ <th>Min [ms]</th>
+ </tr>
+ </thead>
+ <tbody>
+ <% results.benchmark_results.each do |result| %>
+ <tr>
+ <th><%= result.benchmark_info.name %></th>
+ <td><%= result.max_duration %></td>
+ <td><%= result.average_duration %></td>
+ <td><%= result.min_duration %></td>
+ </tr>
+ <% end %>
+ </tbody>
+ </table>
</div>