3 ms·
How does it compare to pnpm
by rlt 3y ago
How does it compare to pnpm
- bufferoverflow 3y agopnpm is 3x slower or even more https://miro.medium.com/v2/resize:fit:832/1*noWyIXw-yeNZq5Db2r8tOQ.png https://miro.medium.com/v2/resize:fit:832/1*noWyIXw-yeNZq5Db... https://kinsta.com/wp-content/uploads/2023/12/bun-benchmark.png https://kinsta.com/wp-content/uploads/2023/12/bun-benchmark.... And for running scripts, it's not even close https://miro.medium.com/v2/resize:fit:1400/1*oyPEXsFfZsTg4mOBSIJL_A.png https://miro.medium.com/v2/resize:fit:1400/1*oyPEXsFfZsTg4mO...
- briantakita 3y agoI found Bun to be faster. Monorepo support is a bit kludgy though. Once you know of the workarounds, it's ok. See my comment on https://github.com/oven-sh/bun/issues/5413#issuecomment-1956078162 https://github.com/oven-sh/bun/issues/5413#issuecomment-1956... AFAIK, Pnpm monorepos do not follow standard npm. Bun does follow standard npm monorepos. Pnpm's feature to override dependency versions is nice for legacy projects with many 3rd party dependencies. Not sure if Bun has the same feature. I mostly use it on greenfield projects with dependencies that I control.