This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
allow two-step benchmarks with Porting/bench.pl
authorYves Orton <demerphq@gmail.com>
Tue, 6 Dec 2016 22:16:44 +0000 (23:16 +0100)
committerYves Orton <demerphq@gmail.com>
Tue, 6 Dec 2016 22:16:44 +0000 (23:16 +0100)
commit4044748b2797a9228c7309bce401eb5241f8f8a7
treebdd9bd8c0d41fe5654af2a20492e4e141b39979b
parent6bc3ceb8e17fdabd5d840e82376879dbae92483b
allow two-step benchmarks with Porting/bench.pl

with this patch you can time blead, and save the results:

    bench.pl --tests=/whatever/ --write=blead.time -- ./perl=blead

then iterate over hacking the code and running

    bench.pl --read=blead.time --write=last.time -- ./perl=hacked

and seeing the results of the --tests defined in the first run,
and the results from the save file 'blead.time' compared against
the modified version of perl in the most recent run. At the same
time the merged data is written as last.time, allowing the usual
post-test analysis of the results.
Porting/bench.pl