Sha256: 2a6ccdada8b678ae7b7fc29f8b5421b506330051722d97183e2601f6fa85d10b

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

<h2 class="page-header">Profile Groups</h2>

<div class="row">
  <table class="table table-bordered table-striped">
    <thead>
      <th>Group name</th>
      <th>Total time ms</th>
      <th>AVG time ms</th>
      <th>Min time ms</th>
      <th>Max time ms</th>
      <th>Queries</th>
      <th>perfect</th>
      <th>had_to_order</th>
      <th>scanned_more_than_returned</th>
      <th>no_index</th>
      <th>no_docs_found</th>
    </thead>
      <tbody class="header">
        <% @groups.each do |group| %>
          <tr>
            <td><a href="<%= root_path %>groups/<%= group.id %>"><%= group.name %></a></td>
            <td><%= group.total_time %></td>
            <td><%= group.avg_time %></td>
            <td><%= group.min_time %></td>
            <td><%= group.max_time %></td>
            <td><%= group.profiles.count %></td>
            <td><%= group.count_by_score :perfect %></td>
            <td><%= group.count_by_score :had_to_order %></td>
            <td><%= group.count_by_score :scanned_more_than_returned %></td>
            <td><%= group.count_by_score :no_index %></td>
            <td><%= group.count_by_score :no_docs_found %></td>
          </tr>
        <% end %>
    </tbody>
  </table>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongo_profiler-0.0.2 web/views/index.erb