Class: ProfilerProcessor
- Inherits:
-
ProfiledProcessor
- Object
- TestProcessor
- ProfiledProcessor
- ProfilerProcessor
- 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
Instance Method Summary collapse
-
#print_profile(io = STDERR) ⇒ Object
:nodoc:.
-
#start_profile ⇒ Object
:nodoc:.
-
#stop_profile ⇒ Object
:nodoc:.
Methods inherited from ProfiledProcessor
#initialize, load_default_processor, load_processor, process_args, #profile
Methods inherited from TestProcessor
Constructor Details
This class inherits a constructor from ProfiledProcessor
Instance Method Details
#print_profile(io = STDERR) ⇒ Object
: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_profile ⇒ Object
:nodoc:
11 12 13 |
# File 'lib/action_profiler/profiler_processor.rb', line 11 def start_profile # :nodoc: Profiler__.start_profile end |
#stop_profile ⇒ Object
:nodoc:
15 16 17 |
# File 'lib/action_profiler/profiler_processor.rb', line 15 def stop_profile # :nodoc: Profiler__.stop_profile end |