Sha256: 604249c5be70993bd446b85834e1a3a5ebac03145d7281077ff1bffb69282428

Contents?: true

Size: 945 Bytes

Versions: 21

Compression:

Stored size: 945 Bytes

Contents

<table class="table is-fullwidth is-hoverable is-narrow is-size-7">
  <tbody>
    <% @data.each do |e| %>
      <tr>
        <% if e["group"] == 'db' %>
          <td class="nowrap has-text-right <%= duraction_alert_class(e['duration']) %>">
            <%= e["duration"] %> ms
          </td>
          <td>
            <%= e["sql"] %>
          </td>
        <% elsif e["group"] == 'view' %>
          <td class="nowrap has-text-right <%= duraction_alert_class(extract_duration(e['message'])) %>">
            <%= extract_duration(e["message"]) %>
          </td>
          <td>
            <%= e["message"] %>
          </td>
        <% end %>
      </tr>
    <% end %>

    <% if @data.empty? %>
      <tr>
        <td>Nothing to show here. Perphaps details about the requests already expired. Setting "slow_requests_time_window" should be equal to "duration".</td>
      </td>
    <% end %>
  </tbody>
</table>

Version data entries

21 entries across 21 versions & 1 rubygems

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