# from Jonathan Swartz # on Friday 26 October 2007 14:49: >This is for thirty test classes, so there's about 2 seconds of load >overhead per class.
That's "per class + process". What's the time required to load them all in one process and then quit before testing anything? Now subtract that from 65s and multiply the result by 0.6, then add back the startup time. (about 40s?, which is pretty nice considering that parallelizing the separate process startup will likely only get down to about 77s on two cores.) There's not a lot of code in Test::Class, so even if making it preload- then-fork is a difficult hack, starting over on ~400 lines shouldn't be too daunting -- though runtests() seems to be all that's involved (and that bit of code reads a lot like a harness.) --Eric -- I arise in the morning torn between a desire to improve the world and a desire to enjoy the world. This makes it hard to plan the day. --E.B. White --------------------------------------------------- http://scratchcomputing.com ---------------------------------------------------