Re: [Zope-dev] Buildout performance improvements

2013-05-22 Thread Sylvain Viollon

Op 22 mei 2013, om 14:51 heeft Sylvain Viollon het volgende geschreven:

 Hello,
 

   Hello,

   Few years ago I made a branch of buildout:
 
 http://svn.zope.org/zc.buildout/branches/sylvain-distribution-cache/
 
   That creates a cache during the installation of the dependencies preventing
 buildout to recompute this an exponential number of times.
 
   The relevant changes can be summarized here (please ignore the Jython 
 changes,
 I don't know why they were removed):
 
 http://svn.zope.org/zc.buildout/branches/sylvain-distribution-cache/src/zc/buildout/easy_install.py?rev=95445r1=95404r2=95445
 
I didn't advertise my changes because of the following facts:
 
   - it didn't support multiple working_set using different versions of the 
 same egg,
 which was possible at the time,
 
   - it didn't support multiple versions of Python, which was possible at the 
 time,
 
   - it didn't seems to integrate well with the direction that was taking 
 zc.buildout 1.5.
 
   I now use zc.buildout 2 and in its README it actually agree with all those 
 facts,
 so I am basically asking, do you think and/or want me propose a patch to
 zc.buildout 2 on github, with this global download_cache integrated ?
 
   I realize that a global cache sucks, but given the code base, it is 
 difficult not
 making it global.
 



   I made a fork of buildout on github with an even better implementation:

   https://github.com/thefunny42/buildout/compare/buildout:master...master

   Feedback is welcome and if you want me to press the push request, please
do.

   On the Silva buildout, rerunning buildout without changing anything goes
from 63.81s to 33.75s (most of the time is now mr.developer).

   Regards,

   Sylvain,

-- 
Sylvain Viollon -- Infrae
t +31 10 243 7051 -- http://infrae.com
Hoevestraat 10 3033GC Rotterdam -- The Netherlands



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


Re: [Zope-dev] Buildout performance improvements

2013-05-22 Thread Sebastien Douche
On Wed, May 22, 2013 at 5:58 PM, Sylvain Viollon sylv...@infrae.com wrote:
Hello,
I made a fork of buildout on github with an even better implementation:

https://github.com/thefunny42/buildout/compare/buildout:master...master

Feedback is welcome and if you want me to press the push request, please
 do.

Why on zope-dev and not buildout-developm...@googlegroups.com?


--
Sebastien Douche sdou...@gmail.com
Twitter: @sdouche / G+: +sdouche
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )