[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
More information about the Python-Dev mailing list
Tue Apr 15 18:46:16 CEST 2014
- Previous message: [Python-Dev] Mercurial sluggishness (was: this is what happens if you freeze all the modules required for startup)
- Next message: [Python-Dev] Timing breakdown of Py_InitializeEx_Private()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] Mercurial sluggishness (was: this is what happens if you freeze all the modules required for startup)
- Next message: [Python-Dev] Timing breakdown of Py_InitializeEx_Private()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list