module ActionController::ActionProfiling

Public Instance Methods

action_gc_statistics(*args) { || ... } click to toggle source
# File lib/active-profiling/action_controller/action_profiling.rb, line 31
def action_gc_statistics(*args)
  gc_statistics do
    yield
  end
end
action_profiler(*args) { || ... } click to toggle source
# File lib/active-profiling/action_controller/action_profiling.rb, line 25
def action_profiler(*args)
  ruby_profiler(:name => "#{controller_name}.#{action_name}") do
    yield
  end
end