p6ltnw
Last Updated: February 25, 2016
·
787
· jacaetevha
D21ebccf20562e370eb0a8cf170a0580

Parse times, sub-totals, and totals out of Rails log statements

I often times want to know what the specific breakdowns are of an action in my Rails apps. So, I wrote this little ditty using gawk (Gnu AWK). If you're on a Mac, you may not have gawk installed, so use brew (or Fink, MacPorts, etc):

brew install gawk

https://gist.github.com/2960485

Say Thanks
Respond