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.

  • tun@lemm.ee
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    Recently change node+npm+esbuild to bun runtime+package management+bundling and happy with the result.

    The project is a static site built with middleman, tailwind, postcss and some frontend libraries.

    It was simpler to work with for me. Node is way faster than ruby and so node speed was never an issue for me. But bun install is noticeably faster even for a small project.