go-fasthttp
Flagship · Go · engine: fasthttp · standard configuration · completeness 2/4
High-performance Go HTTP server using fasthttp with zero-allocation design and buffer reuse.
Achievements
🥇 1 Gold · 🥈 1 Silver. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥇 Gold | Test profile | Efficiency · Latency-1M | 1 of 88 |
| 🥈 Silver | Within its language | Go · HTTP/1.1 | 2 of 6 |
Composite rank
Each profile of a family is worth its weight × 1,000 to the entry that leads it - 1, or 0.5 apiece for two profiles that measure one thing - and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 29 of 88 | 2512 |
Every result
Alpha Round, 11 runs. Requests per second is the best of three; latency, CPU and memory come from that run.
| Category | Profile | Conns | Req/sec | Avg | p99 | CPU | Memory |
|---|---|---|---|---|---|---|---|
| Connection | Baseline | 4,096 | 1,187,086 | 3.45ms | 4.50ms | 4003.4% | 154MiB |
| Connection | Pipelined | 4,096 | 17,058,051 | 3.84ms | 5.21ms | 6733.1% | 146MiB |
| Connection | Short-lived | 4,096 | 694,242 | 5.89ms | 10.10ms | 4626.5% | 307MiB |
| Concurrency | Async Delay | 32,000 | 932,469 | 34.03ms | 36.40ms | 3915.3% | 794MiB |
| Efficiency | Latency-10K | 1,024 | 9,982 | 74.4us | 105.0us | 30.8% | 75MiB |
| Efficiency | Latency-1M | 1,024 | 998,359 | 281.6us | 1129.0us | 3630.6% | 88MiB |
| Workload | JSON Comp | 4,096 | 34,340 | 98.36ms | 1.70s | 3075.1% | 3.2GiB |
| Workload | JSON Comp | 16,384 | 27,453 | 219.11ms | 3.96s | 4043.6% | 5.5GiB |
| Workload | JSON TLS | 4,096 | 509,505 | 36.42ms | 870.22ms | 4923.6% | 445MiB |
| Workload | 8Gbit | 512 | 49,322 | 116.4us | 155.0us | 351.4% | 112MiB |
| Workload | Static TLS | 1,024 | 290,357 | 30.64ms | 686.16ms | 4356.0% | 347MiB |
Compared with
The Go web frameworks around go-fasthttp on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.
| Entry | Composite | vs go-fasthttp | |
|---|---|---|---|
| fiber-tuned | 4227 | +68% | head to head |
| fiber | 4105 | +63% | head to head |
| gin | 1396 | -44% | head to head |
| echo | 1373 | -45% | head to head |
Compare go-fasthttp with any Go entry · Compare go-fasthttp with any entry, in any language · Every Go entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry