develooper Front page | perl.perl5.porters | Postings from December 2014

Re: ANNOUNCE: Porting/bench.pl

Thread Previous | Thread Next
From:
demerphq
Date:
December 1, 2014 08:59
Subject:
Re: ANNOUNCE: Porting/bench.pl
Message ID:
CANgJU+Ve+bTAc29riCDyfk0XxVDVmhK9CQHrD9P4JN26oR_0VA@mail.gmail.com
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.

Yves

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About