4 ms·
How does this stack up against yarn now?
by andyfleming 9y ago
How does this stack up against yarn now?
- pajoda 9y agoI never used yarn, but I just did some research about the changes in comparison to yarn. Well, actually they are more similar now, obviously (saving by default for example). In terms of speed, npm has improved as well (https://twitter.com/passcod/status/860437637764571140 https://twitter.com/passcod/status/860437637764571140). Even though npm still seems to be slower than yarn (https://docs.google.com/presentation/d/1re-AGrTOf4zmnXXDMTG1UIuce8gVClkoq0HyN0IhCyQ/edit#slide=id.p https://docs.google.com/presentation/d/1re-AGrTOf4zmnXXDMTG1...). At the end, I'd say it's about personal preference, they both get the job done.
- max23_ 9y agoGlad to know they addressed the issues why I switched to yarn (speed, save by default and lock file). Definitely will give this a try once it is moved out from pre-release.
- Thomaschaaf 9y agoI built a project to compare yarn and npm. See https://github.com/thomaschaaf/npm-vs-yarn https://github.com/thomaschaaf/npm-vs-yarn The different shows how much better npm@5 is :) It installs two node.js projects (react & ghost) and shows how long it takes to do under multiple scenarios (cold cache, installed and lockfile). It is automatically run each day. It also creates an average if one version is run multiple times.
- simonw 9y agoThat's really smart. I love how you're using Travis matrix builds for this, and publishing the results via the Google Sheets API.