A RetroSearch Logo

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

Search Query:

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

[Python-Dev] Mercurial sluggishness (was: this is what happens if you freeze all the modules required for startup)

[Python-Dev] Mercurial sluggishness (was: this is what happens if you freeze all the modules required for startup) [Python-Dev] Mercurial sluggishness (was: this is what happens if you freeze all the modules required for startup)Antoine Pitrou solipsis at pitrou.net
Tue Apr 15 18:46:16 CEST 2014
Le 15/04/2014 17:34, Skip Montanaro a écrit :
> This
> suggests to me that Mercurial's import slowness is mostly in its own
> code (I counted 104 Python modules and six shared objects in its
> mercurial package, which isn't going to be affected (much?) by
> freezing the Python standard modules.

Skip is right. When trying to find out why the hgprompt extension (which 
is a rather nifty extension adding color-coded repository information 
into your bash prompt) made the shell so much slower, it turned out that 
most of the execution time comes from importing *Mercurial* modules, not 
stdlib modules.

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