Last Updated: February 25, 2016
·
926
· jacaetevha

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