While using ruby-prof, printed out in graph-html mode, the report for one method says (with some snipping)
%Total %Self Total Self Wait C
Version 0.9.0 of ruby-prof allows method elimination. For example, to eliminate Integer#times, use
Integer#times
result = RubyProf.stop result.eliminate_methods!([/Integer#times/])
so that
def method_a 5.times {method_b} end
will indicate the relationship between method_a and method_b directly.
method_a
method_b