Reputation: 29930
How to profile requests in a Rails 3 application?
This answer seems to only work in 2.*. How should I do this in Rails 3?
Upvotes: 4
Views: 4636
Reputation: 19938
Rack Mini Profiler is really good: https://github.com/SamSaffron/MiniProfiler/tree/master/Ruby
Upvotes: 4
Reputation: 21564
I usually use https://github.com/newrelic/rpm new relic. It tells you which is the slowest call on render and it also gives you which line in your code does just that. Very informative and easy to use.
Upvotes: 9