class RubyProf::FlameGraphPrinter

wow much flame graph many stack wow!!

Constants

VERSION

Public Instance Methods

min_time() click to toggle source
# File lib/ruby-prof/printers/flame_graph_printer.rb, line 34
def min_time
  0
end
name(call_info) click to toggle source
# File lib/ruby-prof/printers/flame_graph_printer.rb, line 55
def name(call_info)
  method = call_info.target
  "#{method.full_name} (#{call_info.called})"
end
number(x) click to toggle source
# File lib/ruby-prof/printers/flame_graph_printer.rb, line 60
def number(x)
  ("%.6f" % x).sub(/\.0*$/, '').sub(/(\..*?)0+$/, '\1')
end
print(output = STDOUT, options = {}) click to toggle source
print_stack(prefix, call_info) click to toggle source