3 ms·
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 cros
by hinkley 9y ago
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.
- borplk 9y agoI don't remember it too clearly now but a few years ago there was a case of "One line of PHP changed and composer is now 70% faster". I'm not comparing anything, just got reminded of it.
- hinkley 9y agoIt happens, just not usually like npm. 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.