How to profile queries in a Rails 3 application

How to profile queries in a Rails 3 application?

This answer only works in 2. *. How to do it in Rails 3?

+4
source share
3 answers
+4
source

I usually use the https://github.com/newrelic/rpm new relic. It tells you what is the slowest render call, and it also gives you which line in your code does exactly that. Very informative and easy to use.

+9
source

Have you checked the built-in profiler?

+1
source

Source: https://habr.com/ru/post/1343660/


All Articles