 |
Forums |
Admin Discussion Forums: help Start New Thread
By: Charlie Savage
RE: Profile already running? [ reply ] 2006-06-22 21:48
|
Hi David,
Thanks for the catch in the documenation - fixed. We've aslos added a running? method to RubyProf also. So when you get a chance, update to ruby-prof-0.4.1 by running gem update.
Thanks - Charlie
|
By: David Schmidt
Profile already running? [ reply ] 2006-06-22 16:26
|
I have an app where I set up profiling, but I get an error if I run RubyProf.start when a previous run crashed before the RubyProf.stop. Is there a way to test to see if there is a profile already started so I can do a stop before starting the new one?
Also, the rDoc text info says to do RubyProf.end, which fails. Documentation examples should be changed to RubyProf.stop.
BTW, perfect timing on the new release. Just *yesterday* I was tasked with tracking down some performance issues and my first run pointed me to a function that was badly written.
David
|
|
 |