Last Updated: February 25, 2016
·
641
· cutalion

Easy ruby profiling (oneliner)

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