class RubyProf::GraphPrinter
Generates graph profile reports as text. To use the graph printer:
result = RubyProf.profile do
[code to profile]
end
printer = RubyProf::GraphPrinter.new(result)
printer.print(STDOUT, {})
The constructor takes two arguments. See the README
Constants
- CALL_WIDTH
- PERCENTAGE_WIDTH
- TIME_WIDTH