equal
deleted
inserted
replaced
3 <div class="<%= make_chart ? "line-chart flot time-chart" : "" %>"> |
3 <div class="<%= make_chart ? "line-chart flot time-chart" : "" %>"> |
4 <table class="table table-condensed"> |
4 <table class="table table-condensed"> |
5 <thead> |
5 <thead> |
6 <tr> |
6 <tr> |
7 <th>Month</th> |
7 <th>Month</th> |
8 <% impl.all_benchmark_infos.each do |info| %> |
8 <% runtime.all_benchmark_infos.each do |info| %> |
9 <th><%= info.name %></th> |
9 <th><%= info.name %></th> |
10 <% end %> |
10 <% end %> |
11 </tr> |
11 </tr> |
12 </thead> |
12 </thead> |
13 <tbody> |
13 <tbody> |
14 <% all_dates_when_performed(impl).each do |date| %> |
14 <% all_dates_when_performed(runtime).each do |date| %> |
15 <tr> |
15 <tr> |
16 <%= content_tag :th, |
16 <%= content_tag :th, |
17 (make_chart ? date_to_millis(date) : t(date)), |
17 (make_chart ? date_to_millis(date) : t(date)), |
18 'data-timestamp' => date_to_millis(date) %> |
18 'data-timestamp' => date_to_millis(date) %> |
19 <% impl.results_at(date).each do |result| %> |
19 <% runtime.results_at(date).each do |result| %> |
20 <td><%= result.try(:min_duration) %></td> |
20 <td><%= result.try(:min_duration) %></td> |
21 <% end %> |
21 <% end %> |
22 </tr> |
22 </tr> |
23 <% end %> |
23 <% end %> |
24 </tbody> |
24 </tbody> |