Message153735
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). |
|
Date |
User |
Action |
Args |
2012-02-19 23:47:15 | vstinner | set | recipients:
+ vstinner, pitrou, neologix |
2012-02-19 23:47:15 | vstinner | set | messageid: <1329695235.07.0.0035365594313.issue14057@psf.upfronthosting.co.za> |
2012-02-19 23:47:14 | vstinner | link | issue14057 messages |
2012-02-19 23:47:14 | vstinner | create | |
|