Re: Benchmarking a sort with array reference problem

2005-01-21 Thread John W. Krahn
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

Re: benchmarking

2001-12-12 Thread Brett W. McCoy
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

Re: benchmarking

2001-12-12 Thread Jeff 'japhy' Pinyan
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)

Re: benchmarking

2001-12-12 Thread Etienne Marcotte
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