Skip to content

sbt.Execute pre and post condition checking has bad run time characteristics for big graphs #2302

@jrudolph

Description

@jrudolph

The test project shown in #2266 spends about 40 seconds just validating the post conditions before doing anything. The reason is that the post condition checking in addNew seems to have at least O(n^2) run time in the depth of the graph. That's because, it recursively creates dependency tasks and but always checks invariants for the complete transitive hull.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions