Sha256: ad04772874fb006cb6c22b27555c4e35b1c208010370664a94b14dc15a781580

Contents?: true

Size: 1.24 KB

Versions: 4

Compression:

Stored size: 1.24 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 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

4 entries across 4 versions & 1 rubygems

Version Path
rails_performance-1.2.0.alpha3 app/views/rails_performance/rails_performance/slow.html.erb
rails_performance-1.2.0.alpha2 app/views/rails_performance/rails_performance/slow.html.erb
rails_performance-1.2.0.alpha1 app/views/rails_performance/rails_performance/slow.html.erb
rails_performance-1.1.0 app/views/rails_performance/rails_performance/slow.html.erb