Re: Favorite packages for benchmarking?

2005-06-03 Thread Dave Gray
On 6/2/05, John W. Krahn [EMAIL PROTECTED] wrote:
 Siegfried Heintze wrote:
  There are lots of packages for date-time computations. What is the best one
  for timing computations for benchmarks? I'm thinking I want to fetch the
  time in 64 bit format instead of year, mo, day, hour, min, sec, nano seconds
  (which is what most of the date-time packages do).  That should make
  subtraction faster. After I subtract two absolute times, then I want to
  display them in seconds.
 
 perldoc Benchmark
 perldoc Time::HiRes

also check out 'perldoc -f times'

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Favorite packages for benchmarking?

2005-06-02 Thread Siegfried Heintze
There are lots of packages for date-time computations. What is the best one
for timing computations for benchmarks? I'm thinking I want to fetch the
time in 64 bit format instead of year, mo, day, hour, min, sec, nano seconds
(which is what most of the date-time packages do).  That should make
subtraction faster. After I subtract two absolute times, then I want to
display them in seconds.

 

Thanks,

Siegfried



Re: Favorite packages for benchmarking?

2005-06-02 Thread John W. Krahn

Siegfried Heintze wrote:

There are lots of packages for date-time computations. What is the best one
for timing computations for benchmarks? I'm thinking I want to fetch the
time in 64 bit format instead of year, mo, day, hour, min, sec, nano seconds
(which is what most of the date-time packages do).  That should make
subtraction faster. After I subtract two absolute times, then I want to
display them in seconds.


perldoc Benchmark
perldoc Time::HiRes


John
--
use Perl;
program
fulfillment

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response