Sha256: b8057116df3074b5023299b09af4341499b104723f91d0b48e944d6d0775b47f

Contents?: true

Size: 1.8 KB

Versions: 28

Compression:

Stored size: 1.8 KB

Contents

<div class="card">
  <div class="card-content">
    <h2 class="subtitle">Requests (path, total number, average response time)</h2>
    <table class="table is-fullwidth is-hoverable is-narrow">
      <thead>
        <tr>
          <th colspan='3'>Name</th>
          <th colspan='3'>Average</th>
          <th colspan='3'>Slowest</th>
        </tr>
        <tr>
          <th data-sort="string">Controller#action</th>
          <th data-sort="string">Format</th>
          <th data-sort="int">Requests</th>
          <th data-sort="float">Duration</th>
          <th data-sort="float">Views</th>
          <th data-sort="float">DB</th>
          <th data-sort="float">Duration</th>
          <th data-sort="float">Views</th>
          <th data-sort="float">DB</th>
        </tr>
      </thead>
      <tbody>
        <% @data.each do |e| %>
          <% groups = e[:group].split("|") %>
          <% c, a = groups[0].split("#") %>
          <tr>
            <td><%= link_to groups[0],  rails_performance.rails_performance_summary_path({controller_eq: c, action_eq: a}), remote: true %></td>
            <td><%= link_to groups[1].try(:upcase),  rails_performance.rails_performance_summary_path({controller_eq: c, action_eq: a, format_eq: groups[1]}), remote: true %></td>
            <td><%= e[:count] %></td>
            <td class="nowrap"><%= ms e[:duration_average] %></td>
            <td class="nowrap"><%= ms e[:view_runtime_average] %></td>
            <td class="nowrap"><%= ms e[:db_runtime_average] %></td>
            <td class="nowrap"><%= ms e[:duration_slowest] %></td>
            <td class="nowrap"><%= ms e[:view_runtime_slowest] %></td>
            <td class="nowrap"><%= ms e[:db_runtime_slowest] %></td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>
</div>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
rails_performance-1.2.3 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.2.2 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.2.1 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.2.0 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.2.0.alpha5 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.2.0.alpha4 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.2.0.alpha3 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.2.0.alpha2 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.2.0.alpha1 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.1.0 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.0.5.3 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.0.5.2 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.0.5.1 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.0.5 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.0.4 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.0.3 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.0.2 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.0.1 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.0.0 app/views/rails_performance/rails_performance/requests.html.erb
rails_performance-1.0.0.beta5 app/views/rails_performance/rails_performance/requests.html.erb