chocolatey/chocolatey — pull request #184 by thomasbiddle (2012-10-18 22:45:26+00:00)
Title: When `version all` was called, it was making a new request for each installed package.

This commit makes the call outside of the loop, and instead of listing just one package - it lists all packages. Since a new request isn't being made for each package, the speed was drastically increased.

I have 9 packages installed on a machine, it took 42.9 seconds for the original setup - and 9.2 seconds with the new code.