Sha256: 55fb74436f31c1736ae540375a9925fc6e77ccd522c556fab0d1f6f53753dfbe

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 KB

Contents

<title><%= @breakdown_report.title %></title>

<div class="card">
  <div class="card-content">
    <h1 class="title"><%= @breakdown_report.title %><h1>
    <table class="table is-fullwidth is-hoverable is-narrow">
      <thead>
        <tr>
          <th>Datetime</th>
          <th>Controller#Action</th>
          <th>Method</th>
          <th>Path</th>
          <th>Format</th>
          <th>Status</th>
          <th>Duration</th>
          <th>Views</th>
          <th>DB</th>
        </tr>
      </thead>
      <tbody>
        <% @breakdown_report_data.each do |e| %>
          <tr>
            <td><%= l e[:datetime], format: :short %></td>
            <td><%= e[:controller] + '#' + e[:action]  %></td>
            <td><%= e[:method] %></td>
            <td>
              <% if e[:method] == 'GET' %>
                <%= link_to e[:path], e[:path], target: '_blank' %>
              <% else %>
                <%= e[:path] %>
              <% end %>
            </td>
            <td><%= e[:format] %></td>
            <td><%= status_tag e[:status] %></td>
            <td><%= round_it e[:duration] %> ms</td>
            <td><%= round_it e[:view_runtime] %> ms</td>
            <td><%= round_it e[:db_runtime] %> ms</td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_performance-0.0.1.9 app/views/rails_performance/breakdown.html.erb
rails_performance-0.0.1.8 app/views/rails_performance/breakdown.html.erb