[Python-Dev] this is what happens if you freeze all the modules required for startup
Skip Montanaro
skip at pobox.com
Tue Apr 15 00:15:37 CEST 2014
On Mon, Apr 14, 2014 at 4:51 PM, Brett Cannon <bcannon at gmail.com> wrote:
> Thoughts?
Interesting idea, but YAGNI?
In my work environment (Python 2.7.2, all the heavy lifting done in
C++), startup costs are dominated by dynamic linking of all our C++
libraries and their Boost wrappers:
% time python -c 'import tradelink.snake.v11_2 ; raise SystemExit'
real 0m0.671s
user 0m0.405s
sys 0m0.044s
% time python -c 'raise SystemExit'
real 0m0.022s
user 0m0.011s
sys 0m0.009s
Skip
More information about the Python-Dev
mailing list