Hi Benji

> Betreff: [Zope-dev] Test runner: layers, subprocesses, and tear down

[... ]

> #2 will add some process start-up overhead, but it'll only be 
> one more process than is already started (and any 
> reasonably-sized test corpus already starts several processes 
> for each test run).  The one exception is for running with -D 
> or with a pdb.set_trace() embedded in the code under test.  
> For that case we need a switch to say "don't start any 
> subprocesses at all", I suspect that will be spelled -j0.

That's a very important point. I often use pdb if I write
tests.

> For motivation, some speed comparisons: running a particular 
> test suite with 3876 tests (mostly doctests, and mostly 
> functional) without the patch takes 6 minutes, 42 seconds; my 
> branch runs the same tests in 3 minutes and 22 seconds (give 
> or take) on a dual-core box with 3 simultaneous subprocesses.

Yeah, great!

Regards
Roger Ineichen

> Benji York
> Senior Software Engineer
> Zope Corporation

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to