develooper Front page | perl.qa | Postings from December 2007

Re: Test::Aggregate - Speed up your test suites

Thread Previous | Thread Next
From:
demerphq
Date:
December 31, 2007 02:46
Subject:
Re: Test::Aggregate - Speed up your test suites
Message ID:
9b18b3110712310246n62521d1dxc2b074e76a367bc4@mail.gmail.com
On 31/12/2007, Sam Vilain <sam@vilain.net> wrote:
> Ovid wrote:
> > If you have slow test suites, you might want to give it a spin and see
> > if it helps.  Essentially, it concatenates tests together and runs them
> > in one process.  Thus, you load Perl only once and load all modules
> > only once.
>
> Yuck.
>
> Why not just load Perl once and fork for the execution of each test
> script.  You can pre-load modules before you fork.

Fork not being all that portable or implemented equivalently on all
platforms might be an issue.

Yves


-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

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