On Tue, Mar 08, 2005 at 10:11:09PM -0500, Michael Graham wrote: > Well, all I was going to do was try to shave a few seconds off the > running time of my test suite (which is now climbing up to the 10 minute > mark). I figured I could do the mod_perl thing: preload all my modules > and do most of my setup at startup and then require each of the test > scripts. Dunno if it will be worth the effort but it was something > I was going to play with for a couple of hours.
Spend 5 minutes profiling it before you spend a couple hours playing with it. Also this means you must now be very careful about your initialization within your test scripts... all the caveats assocated with attempting to run a script as a daemon.