Sha256: 9a0f04d6c4b8b46b40668bc18e8b8234b84ae3a07b64e35749554804226176b8

Contents?: true

Size: 1.26 KB

Versions: 3

Compression:

Stored size: 1.26 KB

Contents

<title>Slow Requests</title>

<div class="card">
  <div class="card-content">
    <div class="columns">
      <div class="column">
        <h2 class="subtitle">Slow Requests (last <%= RailsPerformance.slow_requests_time_window / 60 %> minutes + slower then <%= RailsPerformance.slow_requests_threshold %>ms)<h2>
      </div>
    </div>

    <table id="recent" class="table is-fullwidth is-hoverable is-narrow">
      <thead>
        <tr>
          <th data-sort="string"></th>
          <th data-sort="string">Datetime</th>
          <th data-sort="string">Controller#action</th>
          <th data-sort="string">Method</th>
          <th data-sort="string">Format</th>
          <th></th>
          <th data-sort="string">Path</th>
          <th data-sort="string">Status</th>
          <th data-sort="float">Duration</th>
          <th data-sort="float">Views</th>
          <th data-sort="float">DB</th>
          <th></th>
        </tr>
      </thead>
      <tbody>
        <% if @data.empty? %>
          <tr>
            <td colspan="10">Nothing to show here. Try to make a few requests in the main app.</td>
          </tr>
        <% end %>
        <% @data.each do |e| %>
          <%= render 'recent_row', e: e %>
        <% end %>
      </tbody>
    </table>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_performance-1.2.2 app/views/rails_performance/rails_performance/slow.html.erb
rails_performance-1.2.1 app/views/rails_performance/rails_performance/slow.html.erb
rails_performance-1.2.0 app/views/rails_performance/rails_performance/slow.html.erb