Runtime transitions and performance shifts in JavaScript
Bun v1.4 outperforms competitors by handling 48,243 requests per second, while Ryan Dahl announced the deprecation of Deno following its acquisition by Cloudflare. The landscape shows significant shifts in performance, security, and module management across runtimes.
The Deno transition
Ryan Dahl announced the deprecation of Deno on October 9, 2026, following its acquisition by Cloudflare. Dahl promised to deliver runtime fixes and security updates for one more year before development ends permanently in 2027. This decision follows the June 25, 2026, release of Deno 2.9, which introduced native desktop applications packaging. The current stable release, version 2.9.8, arrived on October 21, 2026. Cloudflare intends to lead a new effort to make the workerd runtime self-hosting by merging code and ideas from celld. This move aims to improve the production-readiness of Durable Objects. Deno Land Inc, which was established to further the development of Deno, received $21 million in Series A funding led by Sequoia Capital. Ryan Dahl originally created Node.js in 2009 and later expressed regrets regarding its initial design choices, specifically its lack of promises in API design, the usage of the legacy GYP build system, and the reliance on node_modules and package.json. He also cited the omission of file extensions and the breaking of the V8 sandboxed environment as primary reasons for Deno’s creation. Deno aims to provide a productive and secure scripting environment for the modern programmer.
Performance and architecture
Performance benchmarks show differences in efficiency between the three runtimes. Bun v1.4 is clearly faster and more efficient than its competitors.
| Runtime | Version | Requests/sec | Peak RAM (Req) | Queries/sec | Peak RAM (Queries) |
|---|---|---|---|---|---|
| Bun | v1.4 | 48,243 | 105 MB | 20,243 | 80 MB |
| Node.js | v26.7.0 | 25,181 | 142 MB | 10,000 | 168 MB |
| Deno | v2.9.5 | 19,243 | 176 MB | 10,406 | 181 MB |
Bun v1.4 handles 48,243 requests per second using 105 MB of peak RAM. Node.js v26.7.0 handles 25,181 requests per second using 142 MB of peak RAM. Deno v2.9.5 manages 19,243 requests per second. For database queries, Bun v1.4 performs 20,243 queries per second with 80 MB of RAM. This exceeds the 10,406 queries per second Deno v2.9.5 achieves with 181 MB of RAM. Node.js v26.7.0 handles 10,000 queries per second using 168 MB of RAM. Bun runs on the JavaScriptCore engine, whereas both Node.js and Deno use the V8 engine. Bun acts as a single binary containing a runtime, package manager, test runner, bundler, type checker, and formatter. Node.js uses the libuv library to handle asynchronous events and relies on the V8 engine for execution. Deno uses Rust and the Tokio platform as its asynchronous event-driven engine. Node.js operates on a single-thread event loop, which uses non-blocking I/O calls to support tens of thousands of concurrent connections without the cost of thread context switching. Node.js uses a fixed-sized thread pool to handle non-blocking asynchronous I/O operations.
Security and module management
Security remains a primary differentiator in the runtime landscape. Deno runs code in a sandbox that restricts file, network, and environment access by default. You must use specific flags like –allow-net or –allow-write to permit these actions. Deno throws a PermissionsDenied error if you attempt to access the network without these flags. Node.js provides unrestricted system access by default. Deno also supports TypeScript without any extra configuration or build steps. While Node.js version 22.6.0 added native support for both JavaScript and TypeScript, Deno was built with a TypeScript-first approach. Deno manages dependencies through URLs and does not require a package manager or a centralized registry like npm. It caches downloaded modules to the local disk in the directory specified by the $DENO_DIR environment variable. This removes the need for a package.json file and a node_modules folder. You can also use an imports map in a JSON file to avoid typing full URLs for every import. Node.js relies on npm for packages and supports both ES Modules and CommonJS. Bun also supports npm-compatible workspaces and can run existing Node.js projects without a runtime switch. Bun’s speed in tests is high, as bun fmt –check takes 60 ms while Prettier takes 17 seconds. This speed advantage stems from its integrated toolchain. Will developers abandon the established Node.js ecosystem for these newer alternatives?