[issue11089] ConfigParser 50x slower in 2.7

Vasilis report at bugs.python.org
Tue Feb 1 15:04:42 CET 2011


New submission from Vasilis <Vasilis.Vlachoudis at cern.ch>:

The ConfigParser class in 2.7 is almost >50 times slower than in the 2.6 which for large files it renders it almost unusable. Actually the speed decrease depends on the amount of the stored data

Results from test program:
Python 2.7 (r27:82500, Sep 16 2010, 18:02:00)
on 3.5GHz Fedora14 64bit machine
ConfigParser 166.307140827                
RawConfigParser 0.1887819767 

Python 2.6.4 (r264:75706, Jun  4 2010, 18:20:31)
on 3.0GHz Fedora13 64bit machine
ConfigParser 4.24494099617
RawConfigParser 0.172905921936

----------
components: Extension Modules
files: ConfigParserTest.py
messages: 127699
nosy: vlachoudis
priority: normal
severity: normal
status: open
title: ConfigParser 50x slower in 2.7
type: performance
versions: Python 2.7
Added file: http://bugs.python.org/file20640/ConfigParserTest.py

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


More information about the Python-bugs-list mailing list