ruby-prof/ruby-prof — pull request #118 by bquorning (2013-04-10 22:39:50+00:00)
Title: Avoid recalculating thread.total_time

`RubyProf::GraphHtmlPrinter` can be unbearably slow. After a bit of digging around, I found that `thread.total_time` was being re-calculated every time an html link was created. Since `#total_time` is pretty slow, it pays off big time to re-use it once it's been calculated once.

This PR should fix #117