DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
FInd Slow Actions In A Rails App
# Show a list of actions sorted by time taken. Useful for finding slow actions.
cat log/development.log | awk '/Completed/ { print "[" $3 "] - " $0 }' | sort -nr





Comments
Snippets Manager replied on Sun, 2006/12/31 - 12:43am
Joe Martinez replied on Tue, 2006/01/10 - 11:24pm