[HN Gopher] Bun vs Node Benchmark - no one cares about speed as ...
___________________________________________________________________
Bun vs Node Benchmark - no one cares about speed as much as your CI
does
Author : michalwarda
Score : 16 points
Date : 2023-03-05 21:20 UTC (1 hours ago)
(HTM) web link (grifel.dev)
(TXT) w3m dump (grifel.dev)
| paulgb wrote:
| I ported some tests from jest to bun recently and have been been
| pleasantly surprised -- it was pretty much a drop-in replacement
| and the speed difference is certainly noticeable.
|
| That said, it was a tiny and simple test set[1]. It may not be
| ready yet for more complex tests, as the docs warn[2]:
|
| > You've never seen a JavaScript test runner this fast _(or
| incomplete)_.
|
| [1] https://github.com/drifting-in-space/driftdb/blob/main/js-
| pk...
|
| [2] https://bun.sh/
| michalwarda wrote:
| It definitely shows how much potential improvement there is for
| test suites in TS world.
| michalwarda wrote:
| Bun is fast. But honestly I don't care about the fact that it can
| handle more requests. What matters for me is how much it affects
| my dev experience. See how Bun performs in a non-typical
| benchmark.
| martszcz wrote:
| It's cool to see the environment finally evolving when it comes
| to TS dev experience.
| vips7L wrote:
| Has anyone benchmarked bun against graaljs?
| Brosper wrote:
| never heard of graaljs hmm...
___________________________________________________________________
(page generated 2023-03-05 23:00 UTC)