--- johnf <[EMAIL PROTECTED]> wrote:

> On Monday 26 December 2005 12:51,
> [EMAIL PROTECTED] wrote:
> > > Is there a way to measure how long a routine is
> taking?  I'd like
> > > to see how
> > > much time a routine is taking and see if I can
> improve the
> > > performance by
> > > changing the code.
> >
> > Check out the Microseconds function.  From there,
> you remember the
> > value of Microseconds at the beginning of the sub,
> and check it at
> > the end, do some subtracting, and you have elapsed
> time in microseconds.
> >
> that will work but I was hoping for something that
> listed the time for each 
> statement.  Thanks  

If you're on a Mac you could use a profiling app like
Shark.  (Good luck figuring out the interface tho! ;)

I'm being a bit facetious--if you are on a Mac and
need help with Shark, let me know.  I'm no expert, but
I've figured out a little bit of the GUI and I can
tell you how to get timing figures on the subroutines
at least.


Mark Nutter

Quick and easy regex creation and debugging!
http://www.bucktailsoftware.com/products/regexplorer/


                
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to