Hacker News new | ask | show | jobs
by bitwarrior 3796 days 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.
3 comments

Many 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.
The network utilisation is much different between npm 2 and 3:

https://github.com/npm/npm/issues/10380

Also 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-statist...

It yields the same results in reverse order and also when the cache is primed for both and cleared for both