I tried to reproduce the large number of system calls in yarn@3.1.1 with a vue vite-ts project, but the benchmarks show yarn has least number of syscalls:
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 tried to reproduce the large number of system calls in yarn@3.1.1 with a vue vite-ts project, but the benchmarks show yarn has least number of syscalls:
Details in GitHub discussions: github.com/yarnpkg/berry/discussio...
@atian25 Can you share the steps you used for counting number of system calls using
strace
?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...
As per discussions in discord thread npm is not included in this benchmarks as:
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.