Did some benchmarks with Bun on the Hubble codebase. The tl;dr is that it made a huge improvement to package install speed, but no material changes to building or test running. Benchmark 1: Installing packages with a lockfile in offline mode Bun is 8x faster
Benchmark 2: Building the project without cache A good chunk of this step is typescript and rust compilation, so expected that bun made little to no difference Bun is the same as yarn
Heads up, when I tried Bun with @farcaster/hub-nodejs this morning, the grpc dependency threw a string exception error, but on node it’s fine. Glad to see Bun being tested, would save tons of CPU on AWS if benchmarks are accurate
Thanks for sharing. A nice bench for the build part would also be using bun's bundler vs esbuild (what you're using currently through tsup) https://bun.sh/docs/bundler