5 ms·
...has he controlled for network speed? Unless he's set up a local NPM caching proxy, he's going over the 'net for these packages. It'll take more than 1 datum
by bitwarrior 11y ago
...has he controlled for network speed? Unless he's set up a local NPM caching proxy, he's going over the 'net for these packages. It'll take more than 1 datum before I believe this hype.
- gavinjoyce 11y agoMany people have confirmed a major speed improvement. I've repeated this with an empty cache, primed cache and in different orders many times and have always got the same results. Having said that, a good number of people have reported seeing no speed improvement too.
- rhinoceraptor 11y agoThe network utilisation is much different between npm 2 and 3: https://github.com/npm/npm/issues/10380 https://github.com/npm/npm/issues/10380
- draw_down 11y agoAlso the second run probably used stuff that was put in the npm cache during the first run. Not sure how good a test this is. A good read: "Programmers need to learn statistics or I will kill them all" http://zedshaw.com/archive/programmers-need-to-learn-statistics-or-i-will-kill-them-all/ http://zedshaw.com/archive/programmers-need-to-learn-statist...
- gavinjoyce 11y agoIt yields the same results in reverse order and also when the cache is primed for both and cleared for both