-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Description
brew
processes the upgrade
command sequentially. I propose to parallelise the download of formulas to reduce wait times when trying to upgrade multiple formulas at the same time.
Option 1:
-
initiate all downloads at the same time and start installing packages as soon as the download completed (considering dependencies, etc and continue to avoid installing packages in parallel)
-
this especially improves the update experience for people with solid internet access, but would probably delay the whole process for people on limited bandwidths (something I am more concerned about)
Option 2 (preferred):
-
initiate the first download as done currently, but immediately start the download of the next package, while the first one is being installed
-
this obviously could significantly reduce the
upgrade
wait time for people, who compile packages
OLD upgrade
time line
|-download-|-install-|download-|-install-|-download-|-install-|...
PROPOSED upgrade
time line
|-download-|-install-|
|-download-|-install-|
|-download-|-install-|
...