Comment by jasnell

Comment by jasnell 15 hours ago

2 replies

Keep in mind that it's not just a matter of comparing the JS engine. The runtime that is built around the engine can have a far greater impact on performance than the choice of v8 vs. JSC vs. anything else. In many microbenchmarks, Bun routinely outperforms Node.js and Deno in most tasks by a wide margin.

smarnach 9 hours ago

The claim I responded to is that Bun is "at least twice as fast" as Deno. This sounds a lot more general than Bun being twice as fast in cherry-picked microbenchmarks. I wasn't able to find any benchmark that found meaningful differences between the two runtimes for real-world workloads. (Example: https://hackernoon.com/myth-vs-reality-real-world-runtime-pe...)

  • Aeolun 8 hours ago

    Real world benchmarks include database queries and http requests? That’d quickly obviate any differences between runtimes.

    Lol, yeah, this person is running a performance test on postgres, and attributing the times to JS frameworks.