Skip to content

Possible to cache astroid AST between runs? #2292

Closed
@rueberger

Description

@rueberger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions