Perfil de rubi fácil (oneliner)

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