Sha256: 8deae90ed195591efdb6afa033964b2df03f7bf6afbed7e6715bc7f368513e05
Contents?: true
Size: 1.89 KB
Versions: 1
Compression:
Stored size: 1.89 KB
Contents
<li class="trace <%= trace.type %>"> <span class="trace-name " style="width: calc(calc(<%= trace.from_start_percent %>% * .9) + 10%)"><%= trace.label %></span> <div class="trace-bar" style="width: max(calc(<%= trace.duration_percent %>% * .9), 5px)"> <div class="popover"> <section class="popover-header"> <h1 class="popover-description"><%= trace.description %></h1> <button class="popover-close">x</button> </section> <section class="popover-body"> <%= trace.payload %> <% if trace.backtrace %> <section class="popover-footer"> <div class="backtrace" data-controller="clipboard" data-clipboard-filter=".+?(?=:in)" data-clipboard-copied-message="Copied" > <pre data-clipboard-target="source"><%= trace.backtrace %></pre> <button title="Copy to clipboard" type="button" data-action="clipboard#copy" data-clipboard-target="button" > <%= inline_svg('copy.svg') %> </button> </div> </section> <% end %> <table class="trace-details-table"> <thead> <tr> <th class="text-left"></th> <th class="text-right">Response Time</th> <th class="text-right">Allocations</th> </tr> </thead> <tbody> <tr> <td>Total</td> <td class="text-right"><%= trace.duration %>ms</td> <td class="text-right"><%= trace.allocations %></td> </tr> <tr> <td>Relative</td> <td class="text-right"><%= trace.duration_percent %>%</td> <td class="text-right"><%= trace.allocations_percent %>%</td> </tr> </table> </section> </div> </div> </li>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_mini_profiler-0.7.0 | app/views/rails_mini_profiler/profiled_requests/show/_trace.html.erb |