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

Benji York benji at zope.com
Fri Jul 4 21:38:35 EDT 2008


On Fri, Jul 4, 2008 at 4:49 PM, Marius Gedminas <marius at gedmin.as> wrote:

> Here are the results:
>
>                        time                                # tests
>                        real        user        system      reported
> old test runner         3m16.033s   2m44.670s   0m2.832s    6895
> zope.testing trunk      2m27.816s   1m58.971s   0m2.196s    6890
> new test runner -j0     2m37.322s   2m5.808s    0m2.944s    6890
> new test runner -j1     2m32.249s   1m58.847s   0m2.652s    6890
> new test runner -j2     2m22.287s   3m51.214s   0m13.457s   584
> new test runner -j3     2m20.560s   3m46.990s   0m12.613s   584
> new test runner -j4     2m30.026s   3m43.198s   0m13.241s   584

I figured out why the total test count went down so much for -j2: the
branch inherited a bug from the trunk that skips the unit test "layer"
if it is run in a subprocess.  I'll take a crack at fixing that.
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the Zope-Dev mailing list