aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMike McQuaid2016-08-10 09:33:47 +0100
committerMike McQuaid2016-08-10 15:37:04 +0100
commit11116c2467710c9b3df37164dce2bb012a205d33 (patch)
tree67e74f57d98335b97d324a13d0a148e8572d0fec /Library/Homebrew/dev-cmd
parent33912e218e0d12e545a7319d72215e4bddc194f5 (diff)
downloadbrew-11116c2467710c9b3df37164dce2bb012a205d33.tar.bz2
update.sh: further speed up `brew update`.
Tweak the logic further to make the no-op case even faster. Before: ``` brew update 1.10s user 1.05s system 92% cpu 2.325 total brew update --preinstall 0.60s user 0.77s system 96% cpu 1.433 total ``` After: ``` brew update 0.60s user 0.34s system 83% cpu 1.132 total brew update --preinstall 0.29s user 0.24s system 62% cpu 0.860 total ``` These times are now fast enough to avoid any further special-casing for `--preinstall`, roll it out to users by default and not print a message unless we've actually found some updates.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
0 files changed, 0 insertions, 0 deletions