Sha256: eb09d92238646084e83529adda8b2cb21192b881250e969d2b7bfe5576d353bb

Contents?: true

Size: 1.04 KB

Versions: 6

Compression:

Stored size: 1.04 KB

Contents

<title>Number of Requests to the Application</title>

<% unless @datasource.default? %>
  <%#= link_to raw("&larr; Back"), rails_performance_path, class: "back_link" %>
<% end %>

<div class="card">
  <div class="card-content">
    <h2 class="subtitle">Throughput Report</h2>
    <div id="throughput_report_chart" class="chart"></div>
    <p class="content is-small">All requests (site visitors, search engines, bots, etc)</p>
  </div>
</div>

<br/>

<div class="card">
  <div class="card-content">
    <h2 class="subtitle">Average Response Time Report</h2>
    <div id="response_time_report_chart" class="chart"></div>
    <p class="content is-small">All requests (site visitors, search engines, bots, etc)</p>
  </div>
</div>

<% content_for :on_load do %>
  <script>
    var data1 = <%= raw @throughput_report_data.to_json %>;
    showTIRChart('throughput_report_chart', data1, ' rpm', 'RPM');

    var data2 = <%= raw @response_time_report_data.to_json %>;
    showRTChart('response_time_report_chart', data2);
  </script>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails_performance-1.3.0 app/views/rails_performance/rails_performance/index.html.erb
rails_performance-1.2.3 app/views/rails_performance/rails_performance/index.html.erb
rails_performance-1.2.2 app/views/rails_performance/rails_performance/index.html.erb
rails_performance-1.2.1 app/views/rails_performance/rails_performance/index.html.erb
rails_performance-1.2.0 app/views/rails_performance/rails_performance/index.html.erb
rails_performance-1.2.0.alpha5 app/views/rails_performance/rails_performance/index.html.erb