Re: how to optimize sql and rails code, software??

Fred
Fri, 17 Nov 2006 18:04:10 -0000

scott wrote:
> Hi,
>
> I am currently building a rails application and am looking for some
> software to monitor mySQL queries and time it takes to load a page.
>
> has anyone got any suggestions?
>
> cheers,
> scott
You log files are a good start - http://rails-analyzer.rubyforge.org/
will show you what the actions taking the most time are.
railsbench (http://railsbench.rubyforge.org/) is pretty handy for
measuring the time it takes to process a certain request.
You can also ask mysql to log slow queries for you.
Once you''ve got there profile to find the culprit

Fred


--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---