STINNER Victor added the comment:

Oh nice, python_startup benchmark at Nov 10 (rev at 8ebaa546a033) is now faster 
than python_startup at Feb 29 (rev dfeadfb4c8cc): new 16.8 ms, old 19.5. And 
it's much before when I opened the issue: 26.6 ms. Thanks.

https://speed.python.org/timeline/#/?exe=4&ben=python_startup&env=1&revs=50&equid=off&quarts=on&extr=on

The main difference is the removal of "import re" from Lib/site.py. If I added 
back "import re", python_startup comes back to 24.2 ms +- 0.0 ms. I understand 
that "import re" adds 7.4 ms. Any additional import has an important cost of 
python startup performance :-/

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28637>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to