Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2018-07-20 04:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (424 votes). Check out past polls.

    Notices?