Profiling Ruby Applications

You can now use Developer Mode to view detailed performance profiles of your controller actions. Just install the ruby-prof gem and an option will appear in the UI to toggle profiling.

Once you turn profiling on, RPM will give you a list of profiles to examine for each controller action invoked.

New Relic RPM Developer Mode

Until you enable profiling in the UI there is no additional overhead
or instability; however, once you turn on profiling you may notice
pages rendering more slowly, and the Rails app may become unstable.
Profiling is a useful tool for understanding the detailed interaction
happening in your application but you should never use this outside of
a developer's sandbox.