http://www.perlmonks.org?node_id=1109590


in reply to Re^3: Inconsistent Results with Benchmark
in thread Inconsistent Results with Benchmark

ysth,

++ for the good suggestion. And you can add a print statement for the *returned* results from each subroutine.

I've seen examples of 'benchmark'ing 2 subroutines that don't produce the same results. Unless the results are the same, it doesn't make sense to compare the subroutines.

Regards...Ed

"Well done is better than well said." - Benjamin Franklin