Skip to content

perf: parallelize install when dep fulfilled #4696

Open
@jdx

Description

@jdx

when installing tools, if there are dependencies to fulfill such as cargo-binstall for cargo: tools, mise
will first install everything that does not have any unfulfilled dependencies and when that is complete, it will
then install cargo:* tools.

This means that if cargo-binstall installs before something unrelated like ruby that might be quite slow, it can't
start installling cargo:* dependencies until the slow ruby install is complete.

I think refactoring the install logic using a tokio semaphore should help fix this.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions