On 30 November 2014 at 00:29, Dave Mitchell <davem@iabyn.com> wrote: > On Tue, Oct 21, 2014 at 03:54:56PM +0100, Dave Mitchell wrote: > > I have not yet done (and don't intend to do immediately): > ... > > create tools to run timings and cachegrinds of t/perf/benchmarks code > > snippets, possibly across multiple perls > > Well, now I have. > > (I can say that I am genuinely very excited by this.) > > TL;DR: I've created a new tool, Porting/bench.pl, loosely inspired by > perlbench, that measures the performance of perl code snippets across > multiple perls, by using the output of cachegrind, rather than timing. > It's very fast (and can run tests in parallel), and *very* precise (like > to five significant digits), in the sense that multiple runs and/or > similar perls give virtually the same values each time. It is sensitive > enough to allow bisecting of tiny performance changes in small code > snippets. > > Really really interesting. Great work. Thanks. YvesThread Previous | Thread Next