Class | RubyProf::AbstractPrinter |
In: |
lib/ruby-prof/printers/abstract_printer.rb
|
Parent: | Object |
Print a profiling report to the provided output.
output - Any IO object, including STDOUT or a file. The default value is STDOUT.
options - Hash of print options. See setup_options for more information. Note that each printer can define its own set of options.
Specify print options.
options - Hash table
:min_percent - Number 0 to 100 that specifes the minimum %self (the methods self time divided by the overall total time) that a method must take for it to be printed out in the report. Default value is 0. :print_file - True or false. Specifies if a method's source file should be printed. Default value if false. :sort_method - Specifies method used for sorting method infos. Available values are :total_time, :self_time, :wait_time, :children_time Default value is :total_time