to see where exactly it is slow.use Time::HiRes qw(gettimeofday); my $start=gettimeofday; next part of code... my $next=gettimeofday; printf "time spended %.4f" ,($next-$start); next part of code... my $next_1=gettimeofday; printf "time spended %.4f" ,($next_1-$next);
In reply to Re: Benchmarking A DB-Intensive Script
by idle
in thread Benchmarking A DB-Intensive Script
by bernanke01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |