[New-bugs-announce] [issue14057] Speedup sysconfig startup

STINNER Victor report at bugs.python.org
Mon Feb 20 00:47:15 CET 2012


New submission from STINNER Victor <victor.stinner at gmail.com>:

On my laptop, start Python compiled in debug mode takes 600 ms. Half of this time is spend in the site module. And most of this time is spend in load the sysconfig module, which parse sysconfig.cfg, just to get the user site packages directory.

Attached patch adds a copy of configparser.RawConfigParser, specialized to parse sysconfig.cfg. Using this patch, Python startup is 25% faster (I didn't check in release mode).

----------
files: sysconfig_parser.patch
keywords: patch
messages: 153735
nosy: haypo, neologix, pitrou
priority: normal
severity: normal
status: open
title: Speedup sysconfig startup
type: performance
versions: Python 3.3
Added file: http://bugs.python.org/file24572/sysconfig_parser.patch

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


More information about the New-bugs-announce mailing list