Last Updated: February 25, 2016
·
624
· cutalion

Easy ruby profiling (oneliner)

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