Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance issues with astroid 1.6.X and possibly astroid 2.X as well #605

Closed
dickreuter opened this issue Aug 11, 2018 · 5 comments
Closed

Comments

@dickreuter
Copy link

dickreuter commented Aug 11, 2018

When using asteroid 1.6.5 pylint becomes very slow as described here
pylint-dev/pylint#2198
"took a simple test program like the one above and varied the installed versions of Pandas, Numpy, Pylint, and astroid. I found that the Pandas, Numpy, and Pylint versions do not matter at all, I tested several versions of each from Summer 2017 up until today. But astroid <= 1.6.1 took only about 20-30 seconds, whereas anything >= 1.6.2 took 8-10 minutes! This also applies to the 2.x.y releases of Pylint and astroid, they take forever to analyze the simple test program."

Any suggestions what I can do about this?

@PCManticore
Copy link
Contributor

Thanks for creating an issue @dickreuter Unfortunately I don't have any suggestion for you right now, as we don't exactly know what's causing this performance slowdown and we didn't have time to get to it just yet.

@PCManticore PCManticore changed the title Asteroid 1.6.2 bug slows down pylint Performance issues with astroid 1.6.X and possibly astroid 2.X as well Aug 15, 2018
@dickreuter
Copy link
Author

Astroid should be rolled back to 1.6,1. The current version is not usable,

@PCManticore
Copy link
Contributor

@dickreuter Would an IBAN work for you? I understand your frustration but it gets annoying at this point.

@PCManticore
Copy link
Contributor

#630 That is the culprit, unfortunately a lot changed so there are quite a few of tests failing.

@michael-lefkowitz-techlabs

any chance this ticket can be re-opened?

pylint is still taking over a minute to lint a short .py file that contains a very long string (65510 chars).

pylint 2.6.0
astroid 2.4.2
Python 3.8.0 (default, Feb 25 2021, 22:10:10) 
[GCC 8.4.0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants