Edward Wijaya wrote:
Hi,
Hello,
I am trying to benchmark these two sorting algorithms.
However running the script below:
$ perl thiscode.pl
gives:
Can't use an undefined value as an ARRAY reference at radix.pl line 23.
However the code execute smoothly with the normal usage.
Only when I use 'cmpthe
On Wed, 12 Dec 2001 [EMAIL PROTECTED] wrote:
> Any tool available for benchmarking scripts? (In idiotville I could
> think of using the time in some fashion...but again welcome to
> idiotville.)
There's a CPAN module called Benchmark. It's pretty easy to use.
-- Brett
On Dec 12, [EMAIL PROTECTED] said:
>Any tool available for benchmarking scripts? (In idiotville I could
>think of using the time in some fashion...but again welcome to
>idiotville.)
You're gonna hate me for this...
It's called Benchmark.pm, and it's a standard module (so you've already
got it)
use Benchmark;
http://www.perlmonks.org/index.pl?node_id=8745&lastnode_id=3628 for a
little tutorial on using benchmarks
Etienne
[EMAIL PROTECTED] wrote:
>
> hey,
> Any tool available for benchmarking scripts? (In idiotville I could
> think of using the time in some fashion...but again welcom