Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geekeast/webframework-benchmark
benchmark results for several famous web framework
https://github.com/geekeast/webframework-benchmark
0http express fastify go-fiber go-gin koa nanoexpress pressure-test stress-test
Last synced: 10 days ago
JSON representation
benchmark results for several famous web framework
- Host: GitHub
- URL: https://github.com/geekeast/webframework-benchmark
- Owner: GeekEast
- Created: 2021-05-23T08:02:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-23T09:30:08.000Z (over 3 years ago)
- Last Synced: 2025-01-09T22:58:22.738Z (15 days ago)
- Topics: 0http, express, fastify, go-fiber, go-gin, koa, nanoexpress, pressure-test, stress-test
- Language: JavaScript
- Homepage:
- Size: 1.83 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Benchmark Result
```sh
autocannon -c 100 -d 5 -p 10 http://localhsot:3000
autocannon -c 100 -d 5 -p 10 http://localhsot:3001
autocannon -c 100 -d 5 -p 10 http://localhsot:3002
autocannon -c 100 -d 5 -p 10 http://localhsot:3003
autocannon -c 100 -d 5 -p 10 http://localhsot:3004
autocannon -c 100 -d 5 -p 10 http://localhsot:3005
autocannon -c 100 -d 5 -p 10 http://localhsot:3006
```| Runtime | Framework | Port | RPS | Latency | Middleware | Github Start |
| ----------- | ------------- | ---- | ----- | --------- | :--------: | :---------------------------------------------------------------------------------------------------------------------: |
| node14.17.0 | `nanoexpress` | 3004 | `76k` | `12.75ms` | ✅ | [![GitHub stars](https://img.shields.io/github/stars/nanoexpress/nanoexpress?style=social&label=Star&maxAge=2592000)]() |
| go1.16 | `gin` | 3006 | `73k` | `13.35ms` | ✅ | [![GitHub stars](https://img.shields.io/github/stars/gin-gonic/gin?style=social&label=Star&maxAge=2592000)]() |
| go1.16 | **fiber** | 3005 | `72k` | `13.57ms` | ✅ | [![GitHub stars](https://img.shields.io/github/stars/gofiber/fiber?style=social&label=Star&maxAge=2592000)]() |
| node14.17.0 | **fastify** | 3001 | `62k` | `15.82ms` | ✅ | [![GitHub stars](https://img.shields.io/github/stars/fastify/fastify?style=social&label=Star&maxAge=2592000)]() |
| node14.17.0 | `0http` | 3003 | `61k` | `15.86ms` | ✅ | [![GitHub stars](https://img.shields.io/github/stars/BackendStack21/0http?style=social&label=Star&maxAge=2592000)]() |
| node14.17.0 | `koa` | 3002 | `49k` | `19.80s` | ✅ | [![GitHub stars](https://img.shields.io/github/stars/koajs/koa?style=social&label=Star&maxAge=2592000)]() |
| node14.17.0 | `express` | 3000 | `13k` | `75.53ms` | ✅ | [![GitHub stars](https://img.shields.io/github/stars/expressjs/express?style=social&label=Star&maxAge=2592000)]() |### Latency
- Go Gin
- Go Fiber
- NanoExpress
- 0http
- koa
- fastify
- express
### References
- [Web Framework Benchmarks](https://web-frameworks-benchmark.netlify.app/result)
- [Stress Test: autocannon](https://github.com/mcollina/autocannon)
- [Stress Test: ali](https://github.com/nakabonne/ali)