Class | RubyProf::FlatPrinter |
In: |
lib/ruby-prof/printers/flat_printer.rb
|
Parent: | AbstractPrinter |
Generates flat profile reports as text. To use the flat printer:
result = RubyProf.profile do [code to profile] end printer = RubyProf::FlatPrinter.new(result) printer.print(STDOUT, {})