Re:Yarn – A new package manager for JavaScript
by jameside on Tuesday October 11, 2016 @01:20PM
(#12686400)
As for performance, Yarn is about 3-5x faster installing all of the dependencies and devDependencies of react-native. The benchmarks are here: https://yarnpkg.com/en/compare. It's much faster in most scenarios, especially the ones that used to take minutes.
[ Parent
| on HN ]
Re:Yarn – A new package manager for JavaScript
by PudgePacket on Thursday October 13, 2016 @08:39AM
(#12700300)
Only if those dependencies are in the cache, otherwise it takes the same time.
Re:Yarn – A new package manager for JavaScript
by jameside on Friday October 14, 2016 @04:14AM
(#12706734)
The benchmarks test both the hot cache and cold cache scenarios for npm and Yarn. Except in the scenario when node_modules is already populated and there is no yarn.lock file, which is uncommon if you're using Yarn, Yarn is faster than npm in all of the benchmarked scenarios where there is a cold cache.