]> Sergey Matveev's repositories - public-inbox.git/commit
t/run.perl: to avoid repeated process spawning for *.t
authorEric Wong <e@80x24.org>
Wed, 18 Dec 2019 03:36:45 +0000 (03:36 +0000)
committerEric Wong <e@80x24.org>
Thu, 19 Dec 2019 04:07:50 +0000 (04:07 +0000)
commit7321c78ebdcaa7ce5f0f8383e07429827da0b718
tree1877bacf3b43494f3d8a10e059fe3309953c6405
parent3c313f9034aac96182e2efdc2f92c40803626f32
t/run.perl: to avoid repeated process spawning for *.t

Spawning a new Perl interpreter for every test case
means Perl has to reparse and recompile every single file
it needs, costing us performance and development time.

Now that we've modified our code to avoid global state,
we can preload everything we need.

The new "check-run" test target is now 20-30% faster
than the original "check" target.
.gitignore
MANIFEST
Makefile.PL
lib/PublicInbox/TestCommon.pm
t/nntpd.t
t/run.perl [new file with mode: 0755]