Class: ZenProfilerProcessor
- Inherits:
-
ProfiledProcessor
- Object
- TestProcessor
- ProfiledProcessor
- ZenProfilerProcessor
- Defined in:
- lib/action_profiler/zenprofiler_processor.rb
Overview
A ProfiledProcessor that uses Ryan Davis’ ZenProfiler.
The ZenProfiler profiler requires Ruby 1.8.3 or better and RubyInline. ZenProfiler can be found at rubyforge.org/frs/?group_id=712
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/zenprofiler_processor.rb', line 19 def print_profile(io = STDERR) # :nodoc: ZenProfiler.print_profile io end |
#start_profile ⇒ Object
:nodoc:
11 12 13 |
# File 'lib/action_profiler/zenprofiler_processor.rb', line 11 def start_profile # :nodoc: ZenProfiler.start end |
#stop_profile ⇒ Object
:nodoc:
15 16 17 |
# File 'lib/action_profiler/zenprofiler_processor.rb', line 15 def stop_profile # :nodoc: ZenProfiler.stop end |