[Zope3-dev] Precompiled configuration: a dead end
Jim Fulton
jim at zope.com
Sat Jul 24 08:43:59 EDT 2004
Marius Gedminas wrote:
...
> The result of this experiment: unpickling context.actions shaves off
> about 0.3 seconds from the startup time as opposed to parsing ZCMLs.
> That is, pickle.load eats up 5.1 seconds, while include(...) eats up 5.4
> seconds (2.1 for imports + 3.3 for parsing).
Is there some reason you used pickle rather than cPickle?
(Or did you really use cPickle.)
cPickle is orders of magnitude faster than pickle.
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope3-dev
mailing list