[issue29585] site.py imports relatively large `sysconfig` module.

INADA Naoki report at bugs.python.org
Fri Feb 17 07:46:11 EST 2017


INADA Naoki added the comment:

no-site
python_startup_no_site: Median +- std dev: 9.13 ms +- 0.02 ms

default:
python_startup: Median +- std dev: 15.6 ms +- 0.0 ms

GH-136 + skip abs_paths().
python_startup: Median +- std dev: 14.2 ms +- 0.0 ms

profile of GH-136 + skip abs_paths():
https://gist.github.com/methane/26fc0a2382207655a6819a92f867620c

Most of time is consumed by importlib.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29585>
_______________________________________


More information about the Python-bugs-list mailing list