Sha256: b01800da14f104463e218e17bdc9870ca719af2c24f1ac2a29d277c1f59055a4
Contents?: true
Size: 1.85 KB
Versions: 1
Compression:
Stored size: 1.85 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 %> <table class="trace-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> <% if trace.backtrace %> <section class="popover-footer"> <div class="backtrace" data-controller="clipboard" data-clipboard-filter=".+?(?=:in)" data-clipboard-copied-class="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 %> </div> </div> </li>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_mini_profiler-0.6.0 | app/views/rails_mini_profiler/profiled_requests/shared/_trace.html.erb |