Content pfp
Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions

Varun Srinivasan pfp
Varun Srinivasan
@v
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
3 replies
1 recast
20 reactions

Varun Srinivasan pfp
Varun Srinivasan
@v
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
1 reply
0 recast
0 reaction

‍‍ pfp
‍‍
@git
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
0 reply
0 recast
1 reaction

jcdenton.vibe pfp
jcdenton.vibe
@jc
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
1 reply
1 recast
3 reactions