This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients neologix, pitrou, vstinner
Date 2012-02-19.23:47:13
SpamBayes Score 2.478462e-09
Marked as misclassified No
Message-id <1329695235.07.0.0035365594313.issue14057@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2012-02-19 23:47:15vstinnersetrecipients: + vstinner, pitrou, neologix
2012-02-19 23:47:15vstinnersetmessageid: <1329695235.07.0.0035365594313.issue14057@psf.upfronthosting.co.za>
2012-02-19 23:47:14vstinnerlinkissue14057 messages
2012-02-19 23:47:14vstinnercreate