Which actions are slow in my Rails app?

As a follow on to yesterday’s post about watching production logs, here’s something I did today.

tail -f production.log | grep "Completed in "

This shows me the reqs/sec for each of the URLs the user has requested. Its simple to then watch for those actions that a) get executed frequently and b) take a long time to run.

The key here is that you are watching real world traffic, and seeing how the actions perform under server load.

This entry was posted on Fri, 08 Dec 2006 05:46:53 GMT . You can follow any any response to this entry through the Atom feed. You can leave a comment .
Tags


Comments

Leave a response

Leave a comment