tag:blogger.com,1999:blog-24599054.post115468171079212562..comments2024-02-07T00:23:34.835-07:00Comments on On Ruby: Profile and ruby-profgnupatehttp://www.blogger.com/profile/10492341480170667775noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-24599054.post-38195412373067202862011-01-28T09:44:42.401-07:002011-01-28T09:44:42.401-07:00GraphHtmlPrinter is pretty awesome. Unless you nee...GraphHtmlPrinter is pretty awesome. Unless you need to programmatically process the output, html printer is a much better report format than the flat printer.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-24599054.post-1155707698746131772006-08-15T22:54:00.000-07:002006-08-15T22:54:00.000-07:00Hey Pat - Great article. Ruby-prof sorts by total...Hey Pat - Great article. Ruby-prof sorts by total-time for a method, not self time, which it looks like you are after. Total time is used since it makes more sense in the call graph reports.<BR/><BR/>It would be easy to change this though. For flat profiles, take a look at line 53 in flat_printer.rb:<BR/><BR/> methods.sort.reverse.each do |pair|<BR/><BR/>Would change to something like this:<BRAnonymousnoreply@blogger.com