Skip to content

Instantly share code, notes, and snippets.

@scabbiaza
Last active October 30, 2016 15:25
Show Gist options
  • Save scabbiaza/d53dc116259643e6c3ff218ddfbcdaff to your computer and use it in GitHub Desktop.
Save scabbiaza/d53dc116259643e6c3ff218ddfbcdaff to your computer and use it in GitHub Desktop.

npm vs Yarn. Performance test on the real project

$ npm i

from package.json: 3m 17s
from shrinkwrap:   2m 56s

$ yarn

from package.json: 1m 30s
from yarn.lock:    0m 54s

Project: 76 first level dependencies, npm-shrinkwrap.json (334Kb), yarn.lock (302Kb)
Machine: OS X 10.10.5, 1.5 GHz, 8GB, SSD
Internet connection: 100 Mbps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment