<% @samples.each do |sample| %> <%= render :partial => :sample, :object => sample %> <% end %>
<%= link_to_if (params[:h] ||params[:u]), 'Timestamp' %> <%= link_to_unless_current('Resp. Time', :h => 'y') %> <%= link_to_unless_current('URL', :u =>'y') %>
<% if defined?(Unicorn) || defined?(Passenger) %>

We've noticed you're running a forking web server, like Unicorn or Passenger. See Below

Developer mode may be unpredictable, since those servers run many processes and developer mode is entirely in the process.

We suggest you try Thin, Mongrel, or another single-process web server for development mode.

(You can ignore this message if you're sure that you're running only one process, and it's not being reaped when inactive.)

<% end %> <%= link_to_if @samples.size > 0, "Clear Transactions (#{@samples.size})", 'reset' %>
<%= link_to "List Threads", 'threads' %>
<% if NewRelic::Control.instance.profiling_available? %>

Profiling available: <% if NewRelic::Control.instance.profiling? %> <%= link_to "Stop Profiling", 'profile?stop=true'%> <% else %> <%= link_to "Start Profiling", '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 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.