[ANN] Action Profiler 1.0.0

E

Eric Hodel

= Action Profiler

Full Documentation:

http://rails-analyzer.rubyforge.org/action_profiler

Rubyforge Project:

http://rubyforge.org/projects/rails-analyzer

== 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:

http://rails-analyzer.rubyforge.org/pl_analyze

=== Profilers

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

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

Shugo Maeda's Prof: http://raa.ruby-lang.org/project/ruby-prof

Ryan Davis' ZenProfile: http://rubyforge.org/frs/?
group_id=712&release_id=2476

=== Running Action Profiler

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

$ action_profiler GamesController#index
Warmup...
Profiling...
[ 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

http://rubyforge.org/frs/?group_id=586

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top