RE: Time a function

2002-05-22 Thread Kipp, James
<< remember that your variations on the length and types of data will impact stuff... given your original question I am somewhat concerned unpo reflection. you probably could use 'benchmarking' in a 'production' piece of code in lieu of the my $starttime = doThatStuff(@argl

Re: Time a function

2002-05-22 Thread drieux
On Wednesday, May 22, 2002, at 09:26 , Kipp, James wrote: > absolutely, thanks [..] > > if illustrations are of use, try: > > http://www.wetware.com/drieux/pbl/BenchMarks/ remember that your variations on the length and types of data will impact stuff... given your original question I am

RE: Time a function

2002-05-22 Thread Kipp, James
absolutely, thanks -Original Message- From: drieux [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 11:40 AM To: Kipp, James Cc: [EMAIL PROTECTED] Subject: Re: Time a function On Wednesday, May 22, 2002, at 07:58 , Kipp, James wrote: > thanks for all responses. i will p

Re: Time a function

2002-05-22 Thread drieux
On Wednesday, May 22, 2002, at 07:58 , Kipp, James wrote: > thanks for all responses. i will play around with Nikola's suggestion and > look at the Benchmark module. if illustrations are of use, try: http://www.wetware.com/drieux/pbl/BenchMarks/ ciao drieux http://www.wetware.com/dri

RE: Time a function

2002-05-22 Thread Kipp, James
thanks for all responses. i will play around with Nikola's suggestion and look at the Benchmark module. -Original Message- From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 10:55 AM To: Kipp, James Cc: [EMAIL PROTECTED] Subject: Re: Time

RE: Time a function

2002-05-22 Thread Timothy Johnson
Check out 'perldoc benchmark'. -Original Message- From: Kipp, James To: [EMAIL PROTECTED] Sent: 5/22/02 7:50 AM Subject: Time a function Anyone have any suggestion, routines, ideas for timing a function? Namely the function will copy large files. i want to time how long the copy will t

Re: Time a function

2002-05-22 Thread Jeff 'japhy' Pinyan
On May 22, Kipp, James said: >Anyone have any suggestion, routines, ideas for timing a function? Namely >the function will copy large files. i want to time how long the copy will >take. use Benchmark; Read its docs for a good description. -- Jeff "japhy" Pinyan [EMAIL PROTECTED]

RE: Time a function

2002-05-22 Thread Nikola Janceski
$starttime = time; function_that_takes_long_time(); $deltatime = time - $starttime; ## time it took in seconds (no perfect but simple and fast) > -Original Message- > From: Kipp, James [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 22, 2002 10:50 AM > To: [EMAIL PROTECTED] > Subjec