However, if you want to do a really quick, but less precise analysis of your code you can resort to some simple Unix tools as shown here:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep "Completed in" development.log | cut -d' ' -f 3,17 | sort |
This simple command line greps out the "Completed in" lines, cuts out the 3rd and 17th columns as separated by spaces, and then sorts the result. The two fields that have been cut out represent the number of seconds and URL for the action in question looking something like this:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
5.44948 [https://something.org/icons.xml?icon%5Fcategory%5Fid=6045] | |
5.45607 [https://something.org/] | |
5.46996 [https://something.org/icons.xml?icon%5Fcategory%5Fid=6045] | |
6.49698 [https://something.org/icons.xml?icon%5Fcategory%5Fid=6045] | |
8.88170 [https://something.org/operations/3/operation_hierarchy/add_subordinate] | |
9.01287 [https://something.org/operations/1/operation_hierarchy/add_subordinate] | |
9.36590 [https://something.org/operations/6/operation_hierarchy/add_subordinate] |
9 seconds! Ouch!
Of course you can get much more advanced in the command line department with tools like awk but at that point you might as well download rawk.rb and get back to work.