Skip to content

mill.scalalib.Dependency/showUpdates seems much slower due to forced non-parallel execution #3359

@lefou

Description

@lefou

I noticed this is a project where I regularily run:

> mill -j 0 mill.scalalib.Dependency/showUpdates --format PerDependency
...
[1/2] mill.scalalib.Dependency.updates > Resolving dependencies [99/109]: module.document.test
...
[1/2] mill.scalalib.Dependency.updates > Analyzing dependencies [59/1761]: module.document.test / org.fedorahosted.tennera:jgettext
...

The projects has a lot of modules and dependencies. The passed evaluator now seems to run with only one job. I spend some time to improve the performance of showUpdates, so it should ran much faster with parallelization turned on.

Related:

We probably needs some way to easily enable parallelism for evaluator commands. E.g. Tasks run with show will otherwise always run in single-job mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions