How about:
#! perl -slw use strict; use Time::HiRes qw[ time ]; while( my $arg = <DATA> ) { my $start = time; system "perl script.pl $arg"; printf "With '%s' took: %.3f seconds\n", $arg, $time() - $start; } __DATA__ 1000 args here ... ...
In reply to Re: Run a script multiple times and store the running time
by BrowserUk
in thread Run a script multiple times and store the running time
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |