Some *real* benchmarks on Bun (compared with Node) -- It only wins *sometimes*, but it's mostly a fail - eviltoast

Piped

Great watch but to summarize:

  • Bun beats Node/Yarn for package installation

  • Somewhat better API/DX in some ways.

  • Loses poorly in testing performance

  • Tons of incompatibility issues/performance issues in other areas.

General summary: Just don’t use Bun yet, seems like it needs some more time in the oven.

  • lorefnon@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    Build times in nodejs are not so great in even medium size projects if you make heavy usage of advanced typescript features - either yourself or through libraries like zod. So if something makes the nodejs runtime faster, it could potentially make ts compiler faster too - for which I’d be very grateful.