logilab-astng #18311 pylint is slower with astng 0.19.1 [rejected]
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.
|appeared in||<not specified>|
|debian bug number||549217|
|closed by||<not specified>|
- logilab-astng #903 cache for external libraries
- logilab-database #98972 Add index for postgresql FTI table
- pylint #9776 warning if return or break inside a finally
- pylint #4983 new py2.5 check: test "yield" in "try" body with yield in exception handlers.
- pylint #17958 pylint -e must not silence Fatal messages