Skip to content

Performance benchmark comparison of HTTP servers in Node.js, Deno, Bun, and Go with interactive visualization

Notifications You must be signed in to change notification settings

bahaaador/http-throughput-comparison

Repository files navigation

HTTP Servers Benchmark

This project compares the performance of HTTP servers implemented in different runtimes and frameworks:

  • Node.js (native http)
  • Fastify (Node.js)
  • Hono (Node.js)
  • Deno (native)
  • Hono (Deno)
  • Bun (native)
  • Hono (Bun)
  • Go (native http)

Prerequisites

Make sure you have the following installed:

  • Node.js
  • Deno
  • Bun
  • Go

Installation

  1. Clone the repository
  2. Install dependencies:
  • Bun
  • Node
  • Deno

Running the servers

npm run start:all

Running the benchmark

npm run benchmark

Visualizing the results

Open the benchmark-viz.html file in your browser.

License

This project is licensed under the MIT License.

About

Performance benchmark comparison of HTTP servers in Node.js, Deno, Bun, and Go with interactive visualization

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published