[Distutils] buildout: several fold performance increases

Ross Patterson me at rpatterson.net
Tue Jan 17 18:41:58 CET 2012

Marius Gedminas <marius at pov.lt> writes:

> On Mon, Jan 16, 2012 at 06:45:14PM -0800, Ross Patterson wrote:
>> First, zc.buildout.easy_install._log_requirements was doing expensive
>> requirements parsing and sorting even when no message would be logged.
>> I committed a fix for it that on a 10 part buildout with a large "eggs"
>> option for each part decreased update time from a cProfile run time of
>> 93 seconds to 15 seconds:
>> http://svn.zope.org/zc.buildout/trunk/src/zc/buildout/easy_install.py?rev=124059&r1=122980&r2=124059
> cProfiler overhead is rarely linear.  What's the real speedup when run
> without a profiler?

Didn't know that, thanks for the info.  I don't have unprofiled timings
right now and I can't do that ATM, but I'll let you know if I do.


More information about the Distutils-SIG mailing list