-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Possible to cache astroid AST between runs? #2292
Comments
Hey, thanks for creating an issue! Computing an AST is actually one of the most trivial part in In pylint 2.0 though we should be a little bit faster, although were not where we'd like to be just yet:
What would be useful in your case is to run a profiler against |
Closing as duplicate of #1416 |
I'm not sure if this at all technically feasible, but pylint is currently the slowest part of our test suite, takes almost a minute for a modest size project with parallelization enabled.
I presume that the most expensive part of running pylint is computing the AST, and am wondering if it is possible to reuse it.
I apologize if this is obviously infeasible, I have no idea how
astroid
works.The text was updated successfully, but these errors were encountered: