[Zope-dev] "zipped" versus "unzipped" eggs (was: Re: SVN: Zope2.buildout/trunk/ Don't pin setuptools.)
Jim Fulton
jim at zope.com
Tue Sep 2 09:44:57 EDT 2008
On Aug 30, 2008, at 2:03 AM, Dieter Maurer wrote:
> Tres Seaver wrote at 2008-8-28 15:22 -0400:
>> ....
>> I don't think zipped eggs are a win in any real scenario, except
>> possibly the goofy file-count-limited GAE. I would strongly prefer
>> that
>> you revert this one change (you can override it in your own
>> '~/.buildout/default.cfg').
>
> We have observed a drastic speedup (on both Windows and Linux)
> in import time (about 30 %) when we have put our complete
> (large) application (consisting among others of Zope 2, CMF,
> Archetypes)
> in a (single) zip file.
...
>
> However, I am not sure whether our observations for a single
> large zip (in fact, we use two: one for our application, the other
> for Python's
> runtime library) is valid for the case of many small zipped eggs.
In fact, for a small application that I wanted to be able to run as a
CGI, zipping several non-large eggs (such as zope.publisher, for
example) made imports slower. It was faster to use unzipped eggs.
This was on Linux.
Jim
--
Jim Fulton
Zope Corporation
More information about the Zope-Dev
mailing list