A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-April/134038.html below:

[Python-Dev] this is what happens if you freeze all the modules required for startup

[Python-Dev] this is what happens if you freeze all the modules required for startup [Python-Dev] this is what happens if you freeze all the modules required for startupAntoine Pitrou solipsis at pitrou.net
Tue Apr 15 18:43:03 CEST 2014
Le 14/04/2014 23:51, Brett Cannon a écrit :
> It was realized during PyCon that since we are freezing importlib we
> could now consider freezing all the modules to cut out having to stat or
> read them from disk. So for day 1 of the sprints I I decided to hack up
> a proof-of-concept to see what kind of performance gain it would get.
>
> Freezing everything except encodings.__init__, os, and _sysconfigdata,
> it speeds up startup by 11% compared to default.

That sounds like a rather small number for the amount of complication 
and opacity it adds into the build and startup process.

Regards

Antoine.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4