DEV Community

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

Collapse
 
trivikr profile image
Trivikram Kamat

Update: The benchmark numbers were not accurate as the default modes for package managers are different. Also strace needs -f option to trace system calls from child processes.

I added new numbers in github.com/yarnpkg/berry/discussio...

  • yarn v3.1.1: cold - 221068, warm - 37702
  • pnpm v6.29.1: cold - 74734, warm - 28430

As per discussions in discord thread npm is not included in this benchmarks as:

  • npm cannot use central store.
  • it's not possible to turn off central store in pnpm.

yarn can be compared to npm by disabling central store.
yarn can be compared to pnpm by adding central store support to yarn's pnpm linker.