A developer at a selector lever between two equal towers, NODE with an LTS shield and BUN with a FAST stopwatch, beside a calm DENO console

Bun JS vs Node vs Deno: With Deno Ending, It's Node or Bun

by Sarah Jane Ross Updated Reading time estimate 11m intermediate node

If you’re coming to JavaScript from Python and wondering which runtime to install, you’ve probably seen three names: Node.js, Bun, and Deno. With Deno winding down, the real choice is Node.js or Bun JS, the fast runtime Anthropic bought in December 2025, which has since been rewritten in Rust.

Deno joined Cloudflare on October 9, 2026, and it gets a year of monthly fixes before Deno Inc. stops developing it. If you run Deno today, see what shuts down and what keeps running.

For a new project, pick by what you need most:

  • Node.js 26 with long-term support (LTS) if you want the safe default that nearly every npm package and tutorial targets
  • Bun 1.4 if you want faster startup, tests, and installs: it starts a server in 7 ms compared with Node’s 72 ms, though its server answers only about 7 percent more requests per second
  • Deno only to finish an app you’ll migrate to another runtime before Deno’s fixes stop

Below, you’ll find the timings behind these picks for startup, tests, servers, and installs. You’ll also see what ran on each runtime and a table that matches common situations to a runtime.

Free Bonus: JavaScript Cheat Sheet

JavaScript Cheat Sheet

Variables, arrays, objects, functions, and async basics in one printable reference.

Get the Free Cheat Sheet »

Bun vs Node vs Deno at a Glance

Node.js is the CPython of JavaScript: the default that most code is written for and the one other runtimes copy for compatibility. Using Bun is like having uv and pytest shipped inside python. The one bun binary runs your code, installs packages, and runs your tests. Deno bundles its own tools too, and it asks for permission before your code touches the network or the environment.

All three also run TypeScript files directly, with no build step. Like Python with type hints, none of them checks the types as the code runs. Node 26 only strips the type annotations, so TypeScript features that add code, such as enum, still need a tool like tsx there.

The three differ most in who backs them and how long each will receive support. The user counts come from the State of JavaScript 2025 survey:

Runtime Backed by Users (2025) Support
Node OpenJS Foundation 10,062 LTS to Apr 2029
Bun Anthropic 2,321 Active, 1.4 in Rust
Deno Cloudflare 1,244 Fixes to ~Oct 2027

Those counts represent survey respondents who checked each runtime as one they use regularly. Whoever backs them, all three stay open source, and Bun keeps its MIT license under Anthropic.

What Changed for Bun and Deno in 2026

Who maintains a runtime decides how long you can count on it, and all three had news this year.

Bun: Anthropic bought Bun on December 2, 2025, and Claude Code, Anthropic’s coding tool, runs on it. In July 2026, Bun’s creator Jarred Sumner wrote about a rewrite that moved Bun from Zig to Rust. He was open about who did much of the typing:

“I used a pre-release version of Claude Fable 5 for much of the Rust rewrite.”

Bun 1.4, launched on August 20, 2026, is the first release line since the rewrite. Its release notes say Claude Code’s CPU use dropped by half on it. The current version is 1.4.4, from October 22.

Deno: When Deno joined Cloudflare, Ryan Dahl, who created both Node.js and Deno, set out what happens next:

“We will support the Deno runtime for another year with monthly releases containing bug fixes and security updates. After that year we will end our development of the Deno runtime. Deno will remain open source, and we welcome others who want to continue its development.”

That puts the last planned release around October 2027.

Node.js: Version 26 became the LTS line on October 28, 2026, and 26.13.1 followed on November 10. The release schedule keeps it supported until April 30, 2029.

Is Bun JS Faster Than Node?

Bun wins clearly on startup and test runs, but its lead on serving web requests is small. Here’s how the runs were set up, followed by the results.

The timings come from one Linux virtual machine with two virtual CPUs on November 12, 2026, running Node 26.13.1, Bun 1.4.4, and Deno 2.9.6. That’s the Deno version npm installs, though GitHub already has 2.9.8. Each startup, test, and server figure is the median of seven runs. Each runtime used its own built-in server to answer the same GET /sum request.

Startup and Test Runs

Startup time runs from launching each server to its first “ready” line, and the test time covers three small tests written with node:test:

Runtime Startup Tests
Node 72 ms 136 ms
Bun 7 ms 26 ms
Deno 23 ms 114 ms

The test timings aren’t directly comparable. node --test starts a separate process for each test file, while bun test and deno test use their own runners. You can turn off Node’s default process isolation with --test-isolation=none, but then every test file shares one process.

Bun is ready before Node has finished starting. A 65 ms gap won’t matter to a server that runs for weeks. It adds up in scripts, command-line tools, watch mode, and continuous integration jobs that start hundreds of times a day. It’s the same reason a Python developer notices when a command-line tool takes a second to import.

HTTP Throughput

Better Stack’s comparison says Bun serves about four times as many requests as Node with Express, without naming the versions behind the figure. On current versions, with each runtime’s native server instead of Express, Bun’s lead over Node nearly disappears. It’s 7 percent here, and Deno’s median is higher still.

The load generator, autocannon 9.0.0, held 64 connections open for 10 seconds after a 2-second warm-up. In the table, p99 is the time by which 99 percent of requests had finished:

Runtime Median req/s Range p99
Node 43,897 32,915–48,036 3 ms
Bun 46,989 41,376–49,158 2 ms
Deno 48,733 46,208–50,000 2 ms

Node’s results show the widest spread, and its range overlaps both rivals’ ranges. The load generator also shared the two CPUs with the server, which can cap throughput. Each server used a different API: node:http, Bun.serve, and Deno.serve. That makes this a sanity check for one small workload, not a production benchmark.

Based on these numbers, the throughput gains wouldn’t justify switching runtimes.

Package Installs: Where Bun Feels Like uv

If you’ve moved from pip to uv, you already know this gap. Here are the median install times from five runs with each installer:

Installer Cold Warm
npm install 2,567 ms 1,655 ms
bun install 382 ms 41 ms
deno install 674 ms 77 ms

The test app pins Express, Vite, TypeScript, and ESLint in a lockfile. Cold runs started from an empty package cache. Warm runs deleted node_modules but kept the cache, so they mostly measured refilling node_modules from it. On Linux, Bun does that with hard links, which point to the files already in the cache instead of copying them.

The npm version here is 11.20.0, the one bundled with that Node release. Cold times depend on the network and the registry that day, so your own numbers will differ. The finished node_modules folder weighs 116 MB.

You don’t have to run your code on Bun to get this speed. bun install fills a normal node_modules folder, and the Express app installed that way starts under Node as usual.

One catch when you switch: npm runs the install scripts in your dependencies, while Bun and Deno skip most of them. A package that builds itself on install needs trustedDependencies in Bun or --allow-scripts in Deno. No dependency in this app needed an install script on Linux.

Node Compatibility: What Ran on Bun and Deno

Bun and Deno both run code written for Node, and two of the tools from the install test passed a quick smoke test of basic functionality on all three runtimes:

  • Express 5.3 answered /health with {"ok":true}.
  • Vite 8.3 built a small project in 83 ms on Node, 71 ms on Bun, and 63 ms on Deno.

Bun needed one flag, --bun, to run Vite itself rather than hand it off to Node. Deno pushed back harder. It runs code in a sandbox, so the Node.js server from the timing test stops when it reads its port setting. In a terminal, Deno asks for permission first, like a phone app asking for your location. With --no-prompt, as in a script or a CI job, it fails right away:

Language: Shell
$ deno run --no-prompt src/server-node.js
error: Uncaught (in promise) NotCapable: Requires env access to "PORT", run
again with the --allow-env flag
const port = Number(process.env.PORT ?? 3000);
                                ^
...

The error message names the permission and the flag that grants it. With --allow-net --allow-env, the same server starts and answers requests. Deno’s permission check is a safety feature, but a Node.js script that reads the environment or opens a port needs those flags to run on Deno.

ESLint 10.14 got only a startup check, which it passed everywhere. The checks left out native addons compiled from other languages, worker_threads, and edge cases in child_process. If your project depends on one of those, try it on the new runtime before you switch.

Bun vs Node: Which Should You Choose?

Most projects fit one of these situations:

You’re… Pick
Learning JavaScript after Python Node
Shipping a service that must run for years Node
Starting a side project, CLI, or script Bun
Tired of slow installs and test runs Bun
Running a Deno app today Deno for now, plan a move
Speeding up dev, keeping prod conservative Bun locally, Node in production

If you’re learning JavaScript after Python, the first row is yours: the course Getting Started With JavaScript starts you on Node.js.

Apps on Deno Deploy have even less time: the service shuts down around April 2027. Dahl’s post gives it six months. The article on the Cloudflare deal lists where such an app can move.

The Bottom Line

Node stays the runtime to build on, and Bun is the cheapest speedup you can add to it. Bring Bun in where it’s easy to undo, for installs and tests, and let CI on the Node version you deploy catch anything Bun breaks. If a Deno app is still in your stack, treat its year of fixes as the migration window.

If JavaScript is your next language after Python, start with the RealJS introduction.

Frequently Asked Questions

These are the questions people ask most often about choosing between Node, Bun, and Deno, with short answers:

For startup, tests, and installs, yes. In the timings, Bun reached its ready line in 7 ms against Node’s 72 ms and finished the small test run in about one-fifth the time. For a plain HTTP server, though, it handled only around 7 percent more requests.

Not yet, but it’s winding down. Since Deno joined Cloudflare, Deno Inc. has promised monthly bug and security fixes for a year, after which it will stop developing the runtime. The code stays open source, so others can carry it on.

Pick Node for anything that must run for years, since Node 26 has support until April 2029. Bun suits side projects, scripts, and CLIs, or you can use it locally and keep Node in production.

Yes. bun install fills an ordinary node_modules folder, so the app runs fine on Node afterward. In the timings, a cold install took 382 ms against npm’s 2,567 ms, and Bun’s lead grew on warm installs.

Mostly. Express and Vite passed a smoke test on both, though Deno needs flags like --allow-net and --allow-env. Native addons and worker_threads weren’t checked, so test those first.

Free Bonus: JavaScript Cheat Sheet

Get a JavaScript Cheat Sheet (PDF), a printable reference to variables, types, strings, arrays, objects, functions, classes, modules, and async basics:

RealJS JavaScript Cheat Sheet pages stacked on top of each other

About Sarah Jane Ross

Sarah Jane runs content operations at RealJS and Real Python. With over a decade in remote operations, she builds the workflows and processes that help a distributed team publish clear, reliable JavaScript and Python learning resources.

» More about Sarah Jane

Each tutorial at RealJS is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Master Real-World JavaScript Skills With Unlimited Access to RealJS

Locked learning resources

Join us and get access to thousands of tutorials, hands-on video courses, and a community of expert JavaScript developers:

Level Up Your JavaScript Skills »

Master Real-World JavaScript Skills
With Unlimited Access to RealJS

Locked learning resources

Join us and get access to thousands of tutorials, hands-on video courses, and a community of expert JavaScript developers:

Level Up Your JavaScript Skills »

What Do You Think?

Rate this article:

Keep Learning

Related Topics: intermediate node