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.
|closed by||<not specified>|