Re:Bun 1.1
by arcanemachiner on Monday April 01, 2024 @11:36PM
(#39902141)
Have you tried pnpm?
How does it compare to pnpm
Re:Bun 1.1
by bufferoverflow on Tuesday April 02, 2024 @12:40AM
(#39902448)
pnpm is 3x slower or even more
https://miro.medium.com/v2/resize:fit:832/1*noWyIXw-yeNZq5Db...
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*oyPEXsFfZsTg4mO...
Re:Bun 1.1
by briantakita on Tuesday April 02, 2024 @12:49AM
(#39902488)
I 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-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.
Since I run "npm i" many times per day, that in itself is a big timesaver, not just for local dev but also in CI pipelines.