Sha256: a4b1de8232d76ba7a2338f940d0d7a17a88579e3a5d51ba7d1e7f4d1cb3c8ead
Contents?: true
Size: 1.12 KB
Versions: 42
Compression:
Stored size: 1.12 KB
Contents
<h3>Redis Usage</h3> <table id="redis_usage"> <tr> <th>Total Calls</th> <td><%= stats.calls %></td> <th>Total Time</th> <td><%= stats.display_time %></td> </tr> </table> <% if stats.queries.any? %> <h3>Breakdown</h3> <table id="redis_breakdown"> <thead> <tr> <th>Time (ms)</th> <th>Command</th> <th class="backtrace"></th> </tr> </thead> <tbody> <% i = 1 %> <% stats.queries.each do |query| %> <tr class="<%= i % 2 == 0 ? "even" : "odd" %>"> <td><%= query.display_time %></td> <td><%= query.command %></td> <td><%= "<a href='#' class='reveal_backtrace'>Show Backtrace</a>" if query.has_backtrace? %></td> </tr> <% if query.has_backtrace? %> <tr style="display:none"> <td></td> <td colspan="2"> <ul> <% query.filtered_backtrace.each do |line| %> <li><%=h line %></li> <% end %> </ul> </td> </tr> <% end %> <% i += 1 %> <% end %> </tbody> </table> <% end %>
Version data entries
42 entries across 42 versions & 2 rubygems