[Distutils] buildout: several fold performance increases

David Glick dglick at gmail.com
Sat Jan 28 21:27:56 CET 2012


On 1/16/12 6:45 PM, Ross Patterson wrote:
> Unfortunately, I haven't been able to get a clean test environment for
> the life of me.  I'm using a clean Python 2.7 build from source, turning
> everything in ~/.buildout/default.cfg off, and running tests in a clean
> checkout of the zc.buildout/trunk buildout.  Even under those conditions
> I get 17 failing tests before any changes.  With this environments
> cache, I see 41 failures, but I can't make sense of it.  This patch
> yields another 2-3 fold decrease to 6 seconds for the same buildout and
> is driven by profiling data, not guessing.  Can someone help me get this
> patch in?
>
>
See DEVELOPERS.txt in the zc.buildout source for how to get a working 
test setup. In particular you need to run dev.py using a Python without 
setuptools present, and you need to have python2.5 available on your path.

David


More information about the Distutils-SIG mailing list