For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > June 2005 > Favorite packages for benchmarking?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Favorite packages for benchmarking?
Siegfried Heintze

2005-06-03, 3:56 am

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


John W. Krahn

2005-06-03, 3:56 am

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
Dave Gray

2005-06-03, 3:56 pm

On 6/2/05, John W. Krahn <krahnj@telus.net> wrote:
> Siegfried Heintze wrote:
one[color=darkred]
e[color=darkred]
conds[color=darkred]
>=20
> perldoc Benchmark
> perldoc Time::HiRes


also check out 'perldoc -f times'
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com