I don't understand the turf war; the node module ecosystem is incredibly shitty (good luck running any modern framework without pulling in hundreds of dependencies) and these two tools do basically the same thing. Just use whichever one works ¯\_(ツ)_/¯
Yarn also solved major speed and reliability issues. I'm not sure why that keeps being glossed over but NPM often had problems with reproducible builds and generally keeping things working. Just check the top comment on this page to see the outstanding bugs.
yarn has given me peace that I did not think was possible.
npm@6 is up to 17x faster than the npm of one year ago.
Some advice for other people doing performance tuning:There comes a point where impressive gains cross over from a brag into an admission of guilt. The long slow is a big part of why yarn exists.
The worst performance bug I ever reported on a piece of software had an O(n^5) runtime. But our n was about 5x what anyone else was doing so it went from a couple minutes to all day. Luckily they found a workaround, because that was brutal.