Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Benchmark Wrapper

by qball (Beadle)
on Apr 04, 2001 at 20:38 UTC ( [id://69878]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Benchmark Wrapper

Actually, I think Benchmark provides a useful way. However, using this code:
$td = timediff($t1, $t0); print "the code took:",timestr($td),"\n";
Returns:

the code took: 0 wallclock secs ( 0.01 usr +  0.00 sys =  0.01 CPU)

How would extract just the wallclock secs. And what if the code took several minutes...how would I extract minutes vs. secs?

Any suggestions?

qball~"I have node idea?!"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://69878]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.