Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Find Execution time of perl script??

by McDarren (Abbot)
on Jun 05, 2006 at 05:58 UTC ( #553532=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    time ./foo.pl
    real    0m0.014s
    user    0m0.000s
    sys     0m0.010s
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    my $end_run = time();
    my $run_time = $end_run - $start_run;
    print "Job took $run_time seconds\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://553532]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2018-09-26 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (205 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!