If you have a large number of files, then creating multiple Test :: Perl :: Critic test scripts might not be such a bad idea. For example, Perl-Critic has three Test :: Perl :: Critic scripts: one for checking application code, one for test code and one for * .run files. And each of them uses a slightly different set of rules.
So, if you can split your code into at least two logical groups and create separate Test :: Perl :: Critic scripts for them, then you can get at least 2x performance improvement by running them in parallel with Tap :: Harness.
Alternatively, you can activate the PPI cache (see the Test :: Perl :: Critic documentation for instructions). But this will only reduce performance.
If you are really interested in getting Test :: Perl :: Critic to work in parallel, then you can add your own code. You can register the commit bit at http://perlcritic.tigris.org .
source share