Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lampesm/golang-web-frameworks-performance
go web frameworks performance
https://github.com/lampesm/golang-web-frameworks-performance
benchmark-framework fastapi go golang load-testing locust performance-testing web-framework
Last synced: 18 days ago
JSON representation
go web frameworks performance
- Host: GitHub
- URL: https://github.com/lampesm/golang-web-frameworks-performance
- Owner: lampesm
- License: gpl-3.0
- Created: 2022-07-13T11:00:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-24T06:15:48.000Z (over 2 years ago)
- Last Synced: 2024-11-08T13:06:15.691Z (about 2 months ago)
- Topics: benchmark-framework, fastapi, go, golang, load-testing, locust, performance-testing, web-framework
- Language: Go
- Homepage:
- Size: 49.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Golang web frameworks performance
Performance comparison between [**Gin**](https://github.com/gin-gonic/gin), [**Chi**](https://github.com/go-chi/chi), [**echo**](https://github.com/labstack/echo), [**fiber**](https://github.com/gofiber/fiber) and [**iris**](https://github.com/kataras/iris) web frameworks and **net/http** library
[go-web-framework-stars](https://github.com/mingrammer/go-web-framework-stars)
### Hardware specifications
- Mem: 7.73G
- Swap: 2.00G
- CPU op-mode(s): 32-bit, 64-bit
- Byte Order: Little Endian
- Address sizes: 39 bits physical, 48 bits virtual
- CPU(s): 4
- On-line CPU(s) list: 0-3
- Thread(s) per core: 1
- Core(s) per socket: 4
- Socket(s): 1
- Vendor ID: GenuineIntel
- CPU family: 6
- Model: 158
- Model name: Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
- Stepping: 9
- CPU MHz: 3000.001
- BogoMIPS: 6000.00|web framework| worker|user|rps |rt ||user|rps |rt ||user|rps |rt |
|:----:|:-----:|:----:|:----:|:-:|:----:|:----:|:----:|:----:|:-:|:----:|:----:|:----:|
|chi |4 |1 |420 |5ms ||10 |770 |30ms ||20 |1100 |35ms |
|iris |4 |1 | 460 | 4ms ||10 | 1100 | 20ms||20 | 1200 | 40ms|
|gin |4 |1 |400 |6ms ||10 |740 |30ms ||20 |870 |45ms |
|echo |4 |1 |660 |2ms ||10 |2100|12ms ||20 |2200|17ms |
|fiber |4 |1 |650 |3ms ||10 |2200|10ms ||20 |2250|18ms |
|net/http library |4 |1 |630 |2ms ||10 |1800|13ms ||20 |2100|17ms |and the result of the load test taken on [Fast API](https://github.com/tiangolo/fastapi). In the same situation as Go web frameworks. The API was the GET method and returned only a simple Json
|web framework| worker|user|rps |rt ||user|rps |rt ||user|rps |rt |
|:---:|:-----:|:----:|:----:|:-:|:----:|:----:|:----:|:----:|:-:|:----:|:----:|:----:|
|fastapi | 4 |1 |310 |7 ms ||10 |480 |33ms ||20 |505|60 ms |## LICENSE
[GNU](https://github.com/lampesm/load-test/blob/main/LICENSE)