Last Updated: February 25, 2016
·
591
· cutalion

Easy ruby profiling (oneliner)

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