Skip to content

Circular dependency checker can be slow #19794

@vbraun

Description

@vbraun

🚀 Feature request

Command (mark with an x)

  • serve

Description

For us the majority of an incremental rebuild time is spent in circular dependency checking

On a largeish hybrid app with complicate imports (in particular, the angularjs part doesn't use modules / barrel files, so the import graph is pretty complicated) a no-change incremental build is about 8s with and 3s without circular dependency checking on a state of the art desktop. There is also no easy way to see how much time is spent in the circular dependency plugin, so took a while to figure that out.

Describe the solution you'd like

Ideally the circular dependency check would run asynchronously, like the type checker.

Describe alternatives you've considered

For now, we have a separate build configuration with "showCircularDependencies": false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions