<%= render :partial => 'sample', :collection => @samples %>
<%= link_to_if (params[:h] ||params[:u]), 'Timestamp' %> <%= link_to_unless_current('Resp. Time', :h => 'y') %> <%= link_to_unless_current('URL', :u =>'y') %>
<%= link_to_if @samples.size > 0, "Clear Transactions (#{@samples.size})", :action => 'reset' %>
<%= link_to "List Threads", :action => 'threads' %>
<% if NewRelic::Control.instance.profiling_available? %>

Profiling available: <% if NewRelic::Control.instance.profiling? %> <%= link_to "Stop Profiling", :action => 'profile', :stop => true %> <% else %> <%= link_to "Start Profiling", :action => 'profile', :start => true %> <% end %>

<% else %>

You can use the ruby-prof gem to display profiles of your actions with Developer Mode. Just install the ruby-prof gem and restart your app.

<% end %>

Welcome

Welcome to New Relic RPM Developer Mode. This Rails extension traces the performance activity of your 100 most recent controller actions in your rails application, and presents the performance information for your analysis.

The url's of the most recent transactions are presented to the left, most-recent first. Click on any one of these to drill down and inspect its performance information.

The identical agent technology that provides this data is also capable of monitoring your application as it runs in production. For more information, visit http://www.newrelic.com.

Note, to increase the accuracy of our performance measurement, we automatically "strip out" any time spent in application code loading, which will not happen when your application runs in production mode.