Pedro Rolo
Pedro Rolo

Reputation: 29930

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?

Upvotes: 4

Views: 4636

Answers (3)

Mike Lewis
Mike Lewis

Reputation: 64137

Have you checked out the built in profiler?

Upvotes: 1

Kris
Kris

Reputation: 19938

Rack Mini Profiler is really good: https://github.com/SamSaffron/MiniProfiler/tree/master/Ruby

Upvotes: 4

corroded
corroded

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

Related Questions