Is it possible to ignore irrelevant methods when profiling ruby applications?
问题 While using ruby-prof, printed out in graph-html mode, the report for one method says (with some snipping) %Total %Self Total Self Wait Child Calls Name Line 52.85% 0.00% 51.22 0.00 0.00 51.22 1 ClassName#method_name 42 51.22 0.00 0.00 51.22 1/3 Hash#each 4200 Obviously, it's not Hash#each that's taking a long time, but the yield block within Hash#each. Looking at the report for Hash#each is confusing because it reports on all of the code called by anything that uses Hash#each. Is it possible