mise icon indicating copy to clipboard operation
mise copied to clipboard

perf: parallelize install when dep fulfilled

Open jdx opened this issue 9 months ago • 0 comments

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.

jdx avatar Mar 24 '25 11:03 jdx