Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to profile requests in a Rails 3 application

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?

like image 521
Pedro Rolo Avatar asked Dec 10 '22 10:12

Pedro Rolo


1 Answers

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.

like image 124
corroded Avatar answered Dec 26 '22 18:12

corroded