Sha256: ea34460828d2d1a7464263ff0aeff553a0d1ae05d87193b4787c9433206fe104

Contents?: true

Size: 1.32 KB

Versions: 8

Compression:

Stored size: 1.32 KB

Contents

<section class="request-details">
  <h1> <%= @profiled_request.request_path %> </h1>

  <ul class="request-details-data">
    <li class="data-item">
      <small>Method</small>
      <span class="pill request-method request-method-<%= @profiled_request.request_method %>"><%= @profiled_request.request_method %></span>
    </li>
    <li class="data-item">
      <small>Status</small>
      <span class="pill request-status request-status-<%= @profiled_request.response_status %>"><%= @profiled_request.response_status %></span>
    </li>
    <li class="data-item">
      <small>Response Time</small>
      <span><%= @profiled_request.duration %>ms</span>
    </li>
    <li class="data-item">
      <small>Allocations</small>
      <span><%= @profiled_request.allocations %></span>
    </li>

  </ul>

</section>

<section class="request-details-actions">
  <%= form_with id: 'trace-form', url: profiled_request_url(@profiled_request.id), method: :get do |form| %>
    <%= form.search_field :search, id: 'trace-search', placeholder: 'Search Traces...', class: 'search-field' %>
  <% end %>
  <%= @profiled_request.flamegraph_button %>
</section>

<section>
  <h2>Traces</h2>
  <ol class="trace-list">
    <% @traces.each do |trace| %>
      <%= render "rails_mini_profiler/profiled_requests/shared/trace", trace: trace %>
    <% end %>
  </ol>
</section>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails_mini_profiler-0.4.0 app/views/rails_mini_profiler/profiled_requests/show.html.erb
rails_mini_profiler-0.3.0 app/views/rails_mini_profiler/profiled_requests/show.html.erb
rails_mini_profiler-0.2.1 app/views/rails_mini_profiler/profiled_requests/show.html.erb
rails_mini_profiler-0.2.0 app/views/rails_mini_profiler/profiled_requests/show.html.erb
rails_mini_profiler-0.1.3 app/views/rails_mini_profiler/profiled_requests/show.html.erb
rails_mini_profiler-0.1.2 app/views/rails_mini_profiler/profiled_requests/show.html.erb
rails_mini_profiler-0.1.1 app/views/rails_mini_profiler/profiled_requests/show.html.erb
rails_mini_profiler-0.1.0 app/views/rails_mini_profiler/profiled_requests/show.html.erb