Forum: Ruby on Rails Action Profiler 1.0.0

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
drbrain (Guest)
on 2005-11-30 00:30
(Received via mailing list)
= Action Profiler

Full Documentation:

Rubyforge Project:

== About

Action Profiler allows you to profile a single Rails action to
determine what
to optimize.  You can use the Production Log Analyzer and action_grep to
determine which actions you should profile and what arguments to use.

Information on the Production Log Analyzer can be found at:

=== Profilers

Action Profiler REQUIRES Ruby 1.8.3, even if you just use Ruby's builtin

Action Profiler can use three profilers, Ruby's builtin profiler class,
Shugo M.'s Prof or Ryan D.' ZenProfile.

Shugo M.'s Prof:

Ryan D.' ZenProfile:

=== Running Action Profiler

Typically, action_profiler will be run from the root of your Rails

   $ action_profiler GamesController#index
   [ profile output ]

If you need to run action_profiler from some other path, the -p
command line
option can be used to specify the location of your Rails application.

   action_profiler -p ~/Worx/X/CCR GamesController#index

Parameters can be specified after the controller and action:

   action_profiler GamesController#index ":id => 1"

If you need to make sure a page is working correctly you can specify -
o.  No
profiling will occur and the generated page will be printed out instead:

   $ action_profiler -o GamesController#show ":id => 1"
   [ lots of HTML output ]

== Gem Installation

   gem install action_profiler

== Download

(Sorry, no manual installation script is available for the .tgz)

Eric H. - removed_email_address@domain.invalid -
This implementation is HODEL-HASH-9600 compliant
cool_screen_name90001 (Guest)
on 2005-12-02 22:21
(Received via mailing list)
Is it possible to drill down further, e.g. figure out exactly which
queries in PGconn#exec are
using the most time? Any idea what Site#allow_concurrency is?

  %   cumulative   self              self     total
 time   seconds   seconds    calls  ms/call  ms/call  name
 29.63     0.08      0.08       14     5.71     5.71
 11.11     0.11      0.03        1    30.00    30.00  PGconn#exec
  3.70     0.12      0.01        1    10.00    20.00


--- Eric H. <removed_email_address@domain.invalid> wrote:

> == About
> === Profilers
> group_id=712&release_id=2476
>    $
>    gem install action_profiler
> _______________________________________________
> Rails mailing list
> removed_email_address@domain.invalid

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
This topic is locked and can not be replied to.