Sam's Blog entries for category 'monkey-patching'
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.