A quick way to find slow Rails actions

A quick way to find slow Rails actions:

redsquirrel:

tail -10000 log/production.log | egrep "Completed in [0-9]{2,}"

via RailsMachine support

[Ah, the simple things…]
Source: SoylentFoo

Leave a comment