https://github.com/floriant3/benchmark-bun-node-deno
benchmark
https://github.com/floriant3/benchmark-bun-node-deno
bun deno node
Last synced: about 2 months ago
JSON representation
benchmark
- Host: GitHub
- URL: https://github.com/floriant3/benchmark-bun-node-deno
- Owner: floriant3
- Created: 2025-07-11T21:48:18.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-28T02:32:40.000Z (11 months ago)
- Last Synced: 2025-08-04T03:28:59.510Z (11 months ago)
- Topics: bun, deno, node
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node vs Deno vs Bun benchmark
- Node 18.16.0
- Deno 1.36.4
- Bun 1.0.2
## Fastify HTTP server
```bash
node fastify.mjs
deno run fastify.mjs
bun run ./fastify.mjs
```
### 100 concurrent threads
- Node: `55.379 req/s`
- Deno: `41.266 req/s`
- Bun: `36.540 req/s`
## Express HTTP server
```bash
node express.mjs
deno run express.mjs
bun run ./express.mjs
```
### 100 concurrent threads
- Node: `16.124 req/s`
- Deno: `21.083 req/s`
- Bun: `24.082 req/s`
## Native HTTP server
```bash
node node.mjs
deno run deno.ts
bun run ./bun.ts
```
### 100 concurrent threads
- Node: `61.364 req/s`
- Deno: `78.597 req/s`
- Bun: `57.048 req/s`

# Credits
This repo is created based on [this article](https://medium.com/deno-the-complete-reference/node-js-vs-deno-vs-bun-fastify-hello-world-server-benchmarking-d08101457f99).