class Tuttle::RubyProf::FastCallStackPrinter

prints a HTML visualization of the call tree

Public Instance Methods

application() click to toggle source
# File lib/tuttle/ruby_prof/fast_call_stack_printer.rb, line 112
def application
  @application ||= @options.delete(:application) || $PROGRAM_NAME
end
expansion() click to toggle source
Calls superclass method
# File lib/tuttle/ruby_prof/fast_call_stack_printer.rb, line 108
def expansion
  @expansion ||= super
end
method_full_name(method) click to toggle source
# File lib/tuttle/ruby_prof/fast_call_stack_printer.rb, line 95
def method_full_name(method)
  @method_full_name_cache[method] ||= begin
    # Use ruby-prof klass_name only for non-Classes or klasses that do not report a name
    # This prevents klass.inspect from being used which prints complex names for ActiveRecord classes
    klass_name = method.klass && method.klass.class == Class && method.klass.name || method.klass_name
    h("#{klass_name}##{method.method_name}")
  end
end
print(output = STDOUT, options = {}) click to toggle source

Specify print options.

options - See CallStackPrinter for based options

print_css() click to toggle source
Calls superclass method
print_stack(call_info, parent_time) click to toggle source
print_title_bar() click to toggle source
threshold() click to toggle source
Calls superclass method
# File lib/tuttle/ruby_prof/fast_call_stack_printer.rb, line 104
def threshold
  @threshold ||= super
end