Class: ProfilerProcessor

Inherits:
ProfiledProcessor show all
Defined in:
lib/action_profiler/profiler_processor.rb

Overview

A ProfiledProcessor that uses Ruby’s built-in Profiler__ class.

ProfilerProcessor is very slow. You really want to upgrade to Ruby 1.8.3 or better and use ZenProfilerProcessor or ProfProcessor.

Constant Summary

Constants inherited from ProfiledProcessor

ProfiledProcessor::PROFILERS

Instance Method Summary collapse

Methods inherited from ProfiledProcessor

#initialize, load_default_processor, load_processor, process_args, #profile

Methods inherited from TestProcessor

#initialize, #process

Constructor Details

This class inherits a constructor from ProfiledProcessor

Instance Method Details

:nodoc:



19
20
21
# File 'lib/action_profiler/profiler_processor.rb', line 19

def print_profile(io = STDERR) # :nodoc:
  Profiler__.print_profile io
end

#start_profileObject

:nodoc:



11
12
13
# File 'lib/action_profiler/profiler_processor.rb', line 11

def start_profile # :nodoc:
  Profiler__.start_profile
end

#stop_profileObject

:nodoc:



15
16
17
# File 'lib/action_profiler/profiler_processor.rb', line 15

def stop_profile # :nodoc:
  Profiler__.stop_profile
end