Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP server benchmarks

thumbnail

Quick and simple HTTP benchmarks I cooked up for Bun, Node and Rust comparisons.

Just run chmod +x benchmark.sh && ./benchmark.sh (port 3000 must be free). All the results get saved in the results directory.

Prerequisites

Warnings

  1. Port 3000 must be free.

  2. Do not stop the script yourself, as it probably will leave a web server running in the background. If it happens to you, run sudo lsof -i -P | grep LISTEN | grep :3000 to find the active server.

List of benchmarks

Bun

  • Bun with Bun.serve()
  • Bun with Elysia
  • Bun with Node HTTP
  • Bun with Express

Node

  • Node with HTTP
  • Node with Express

Rust

  • Rust with Actix

About

Bun, Node and Rust http server benchmarks

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages