[Python-modules-team] Bug#549217: python-logilab-astng: pylint significantly slower for many files with 0.19.1

Neil Muller drnlmuller+bugs at gmail.com
Thu Oct 1 15:43:20 UTC 2009


Package: python-logilab-astng
Version: 0.19.1-1
Severity: important

With logilab-astng 0.19.1, pylint is significantly slower when dealing
with multiple files at a time. The following tests use pylint 0.18.0 and
logilab-astng 0.19.1 and logilab-astng 0.19.0, but the effect is also
very obvious with pylint 0.18.1.

Timing values on one of my projects:

$ time ~/tmp/pylint-0.18.0-0.19.0/bin/pylint -r n [A-F]*py > /dev/null 
No config file found, using default configuration
real    0m11.053s
user    0m10.673s
sys     0m0.340s

$ time ~/tmp/pylint-0.18.0-0.19.1/bin/pylint -r n [A-F]*py > /dev/null 
No config file found, using default configuration
real    0m17.977s
user    0m17.549s
sys     0m0.412s

$ ls [A-F]*py | wc -l
12

The time for 0.19.1 shows significant growth - for 14 files, the times
are 12s for 0.19.0, but 22s for 0.19.1, and for all 16 files, 14s versus
50s.

Memory usage for pylint with 0.19.1 seems larger as well (based on
watching top), but I haven't measured that accurately, 

The project in question uses gtk quite extensively, which may be a
factor in triggering this bug - the slowdown is less noticeable on my
non-gtk projects.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-logilab-astng depends on:
ii  python-logilab-common         0.45.0-1   useful miscellaneous modules used 
ii  python-support                1.0.3      automated rebuilding support for P

python-logilab-astng recommends no packages.

python-logilab-astng suggests no packages.

-- no debconf information





More information about the Python-modules-team mailing list