Personally I've had a lot more success using DTrace to profile Rails apps.
 You can even attach to an existing process, so you can  trace Passenger
servers.  You need to be running Mac OS X (Solaris may work too, but I don't
know) but most Rails devs do so...

You can find an example script on here:

http://github.com/andyjeffries/rails-analysis-tools (look at the Passenger
DTrace script section of the readme)

Cheers,


Andy

-- 
Andy Jeffries
http://andyjeffries.co.uk/      #rubyonrails #mysql #jquery
Registered address: 64 Sish Lane, Stevenage, Herts, SG1 3LS
Company number: 5452840


On 24 February 2010 11:59, Tom Mac <[email protected]> wrote:

> Hi
>     I am asking related to this. Is for benchmarking and profiling
> newrelic is used? In other words can I use newrelic to do these two
> jobs?
>
> Thanks
> Tom
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to