Sam's Blog entries for category 'advanced'
Monkey-patching Benchmark.pm to auto-correct custom controls
Date: Thursday, 18 March 2010, 13:41.
Categories: perl, ironman, benchmarking, analysis, monkey-patching, hack, tutorial, advanced.
In "Advanced Benchmark Analysis I: Yet more white-space trimming", I mentioned that you could automatically take into account the cost of your control benchmark and eliminate it from the rest of your results.
This blog entry shows you how to monkey-patch Benchmark.pm to let you do just that.
Advanced Benchmark Analysis II: Probing strengths and weaknesses
Date: Tuesday, 9 March 2010, 13:39.
Categories: perl, ironman, benchmarking, analysis, trim, regexp, optimization, advanced, tutorial.
In my previous blog entry, "Advanced Benchmark Analysis I: Yet more white-space trimming", I left you with the thought that our benchmarks changed with changing input.
This article shows you how to analyze those changes and how to draw conclusions from them.