DEV Community

Discussion on: In-depth of tnpm rapid mode - how we managed to be 10 second faster than pnpm

Collapse
 
larixer profile image
Victor Vlasenko

@atian25 Regarding the question in the article why Yarn is slower, its because Yarn with node_modules linker needs extra config to match Yarn 1.x or npm behaviour. For the best performance the following config settings should be added:

enableGlobalCache: true
compressionLevel: 0
nmMode: hardlinks-local
Enter fullscreen mode Exit fullscreen mode