|Just another Perl shrine|
Re: RFC extending Benchmark.pm to facilitate CODEHASHREFby BrowserUk (Pope)
|on Nov 26, 2013 at 09:36 UTC||Need Help??|
If you recognise a few realities, benchmarks get a lot easier and far more accurate:
If you write the benchmark in 1064279 like this:
Not only do you avoid the three repetitions of which you complain, you also avoiding adding the overhead of three levels of function call to each piece of code being tested; and thus produce a far more accurate timing of the important code.
It is simple, clear, concise and DRY; and works *now*, just as it always has.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.