Last Updated: February 25, 2016
·
645
· cutalion

Easy ruby profiling (oneliner)

result = RubyProf.profile { User.new }; printer = RubyProf::MultiPrinter.new(result); printer.print(path: ".", profile: "profile")