Sha256: da43c5047aac598b56986da17a99fa84830697bbf9e57e9d42e89c8f9be6860f
Contents?: true
Size: 1.67 KB
Versions: 13
Compression:
Stored size: 1.67 KB
Contents
<title>Rake</title> <% unless @datasource.default? %> <%#= link_to raw("← Back"), rails_performance_path, class: "back_link" %> <% end %> <div class="card"> <div class="card-content"> <h2 class="subtitle">Recent Rake tasks (last <%= RailsPerformance::Reports::RecentRequestsReport::TIME_WINDOW / 60 %> minutes)<h2> <table class="table is-fullwidth is-hoverable is-narrow"> <thead> <tr> <th data-sort="string">Datetime</th> <th data-sort="string">Details</th> <th data-sort="float">Duration</th> <th data-sort="string">Status</th> </tr> </thead> <tbody> <% if @recent_report_data.empty? %> <tr> <td colspan="10">Nothing to show here. Try to make a few requests in the main app.</td> </tr> <% end %> <% @recent_report_data.each do |e| %> <tr> <td><%= format_datetime e[:datetime] %></td> <td>[<%= e[:task].join(" ") %>]</td> <td class="nowrap"><%= ms e[:duration] %></td> <td><%= status_tag e[:status] %></td> </tr> <% end %> </tbody> </table> </div> </div> <br/> <div class="card"> <div class="card-content"> <h2 class="subtitle">Rake Throughput Report</h2> <div id="throughput_report_chart" class="chart"></div> <p class="content is-small">All rake tasks in the application</p> </div> </div> <% content_for :on_load do %> <script> var data1 = <%= raw @throughput_report_data.to_json %>; showTIRChart('throughput_report_chart', data1, ' tasks / minute', 'Tasks'); </script> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems