yarn vs npm install

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

If you are going to time them anyway, don't do them at the same time on the same machine. :P

nesukun
Автор

I am using npm . I will switch to yarn now ! Awesome.

BIGTVX
Автор

To speed up npm, you could try "npm install --progress= false"

iancampbell
Автор

"
I did my own testing as well.
From previous experience I know that Windows Defender has a major impact on package mangers performance.
TLDR: Yarn is faster if Windows Defender is disabled.
Win 10 x64, Core I5, SSD, node v6.7.0, yarn v0.15.1, npm v3.10.9
package.json
Windows Defender enabled:
npm - 124.6 seconds
yarn - 156.2 seconds
Windows Defender disabled:
npm - 76.2 seconds
yarn - 41.6 seconds
(I also cleaned all caches etc... etc..)

devsnips
Автор

Why can't I make yarn to work on linux? Always have issues with it. Use npm as a result.

denniszenanywhere
Автор

God I hate when people send company-wide emails...

muyyhhit