Sha256: 2d86c224a35ecc40b0f3becf5135ea35d9c42fa89c7780daf401f56bef9cbecb

Contents?: true

Size: 1.65 KB

Versions: 23

Compression:

Stored size: 1.65 KB

Contents

<title>Rake</title>

<% unless @datasource.default? %>
  <%#= link_to raw("&larr; Back"), rails_performance_path, class: "back_link" %>
<% end %>

<div class="card">
  <div class="card-content">
    <h2 class="subtitle">Recent Rake tasks (last <%= RailsPerformance.recent_requests_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

23 entries across 23 versions & 1 rubygems

Version Path
rails_performance-1.4.1 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.4.1.alpha1 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.4.0 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.4.0.alpha5 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.4.0.alpha4 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.4.0.alpha3 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.4.0.alpha2 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.4.0.alpha1 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.3.3 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.3.2 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.3.1 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.3.0 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.2.3 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.2.2 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.2.1 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.2.0 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.2.0.alpha5 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.2.0.alpha4 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.2.0.alpha3 app/views/rails_performance/rails_performance/rake.html.erb
rails_performance-1.2.0.alpha2 app/views/rails_performance/rails_performance/rake.html.erb