Created
June 8, 2015 14:20
-
-
Save nmeylan/08df353440d1daa1453f to your computer and use it in GitHub Desktop.
ruby-prof-kcachegrind
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
require "ruby-prof" | |
result = RubyProf.profile do | |
# code here | |
end | |
printer = RubyProf::CallTreePrinter.new(result) | |
printer.print(File.open("output", "w+")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment