NPM 3 slowness. Alternative cache implementation.
NPM 3 works significantly slower than its preceding version. Bad news is that development team is not going to do anything about it.
https://github.com/npm/npm/issues/8826
I've implemented an alternative cache based on junction point that works much faster. Instead of restoring each package it mirrors the whole node_modules folder from cache using junctions. This approach gave me a noticeable performance improvement. Restoring from cache happens almost instantaneously.
https://github.com/npm/npm/issues/8826
I've implemented an alternative cache based on junction point that works much faster. Instead of restoring each package it mirrors the whole node_modules folder from cache using junctions. This approach gave me a noticeable performance improvement. Restoring from cache happens almost instantaneously.
Comments
Post a Comment