[New-bugs-announce] [issue13150] Most of Python's startup time is sysconfig

Antoine Pitrou report at bugs.python.org
Tue Oct 11 05:02:58 CEST 2011

New submission from Antoine Pitrou <pitrou at free.fr>:

sysconfig is imported and used by site.py.

$ time ./python -S -c ''

real	0m0.019s
user	0m0.013s
sys	0m0.005s

$ time ./python -S -c 'import sysconfig'

real	0m0.047s
user	0m0.046s
sys	0m0.002s

$ time ./python -S -c 'import sysconfig; sysconfig.get_path("purelib")'

real	0m0.053s
user	0m0.047s
sys	0m0.005s

$ time ./python -c ''

real	0m0.058s
user	0m0.054s
sys	0m0.003s

messages: 145328
nosy: eric.araujo, ncoghlan, pitrou, tarek, terry.reedy
priority: normal
severity: normal
status: open
title: Most of Python's startup time is sysconfig
type: performance
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list