Skip to content

Instantly share code, notes, and snippets.

@bjacobel
Created October 17, 2016 14:25
Show Gist options
  • Save bjacobel/65fae7a8859cf82d9090f15ea268ebc9 to your computer and use it in GitHub Desktop.
Save bjacobel/65fae7a8859cf82d9090f15ea268ebc9 to your computer and use it in GitHub Desktop.
yarn vs. npm3
# npm3
wheatley > ~ > code > rak > $ > rm -rf node_modules
wheatley > ~ > code > rak > $ > time npm install
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global marked@0.3.6 should be installed with -g
npm WARN prefer global colorguard@1.2.0 should be installed with -g
> fsevents@1.0.14 install /Users/bjacobel/code/rak/node_modules/fsevents
> node-pre-gyp install --fallback-to-build
[fsevents] Success: "/Users/bjacobel/code/rak/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" is installed via remote
rak@0.0.1 /Users/bjacobel/code/rak
( ... package tree output ...)
real 2m31.295s
user 0m34.970s
sys 0m10.566s
# yarn
wheatley > ~ > code > rak > $ > rm -rf node_modules && yarn cache clean
yarn cache v0.15.1
success Cleared cache.
✨ Done in 3.04s.
wheatley > ~ > code > rak > $ > time yarn
yarn install v0.15.1
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
success Saved lockfile.
✨ Done in 32.15s.
real 0m32.359s
user 0m26.197s
sys 0m18.387s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment