Go web framework benchmarks: performance comparison
The fastest Go web framework in HttpArena is fiber-tuned, with a composite of 4227 on HTTP/1.1 — 18 of 114 against every language in its league. Measured over Alpha Round, every entry on the same machine. This is a tuned entry. The leading experimental Go framework is fib-tuned, 15 of 34 in its own league. The leading Go reverse proxy or static-file server is fit, 5 of 9 in its own league.
Compare any two Go entries profile by profile →
Every Go entry in the benchmark, compared on the composite score of each family, one table per league. The composite sums a normalized score over the profiles of that family, where the leader of each profile scores 1,000, and scales the sum by the entry's completeness factor. Frameworks, engines, experimental entries and infrastructure are separate leagues: each is normalized against its own leader, and they do not all count the same profiles, so a composite compares with the others in its table and with nothing outside it. Rank in its league is the entry's place across all languages; rank among Go narrows the same field to this language. Both link through to the board view they were taken in. How the score works.
To set two entries from different leagues against each other, compare them head to head: that table lines up every test both of them ran.
Composite scores compare directly across every row of a table. Ranks do not always share a field: a tuned entry has no place in the standard-only ranking, so its rank is taken from the field that includes tuned entries and counts more of them.
HTTP/1.1
Frameworks
| Framework | Type | Composite | Rank in its league | Rank among Go |
|---|---|---|---|---|
| fiber-tuned | Flagship tuned | 4227 | 18 of 114 | 1 of 8 |
| fiber | Flagship | 4105 | 12 of 88 | 1 of 6 |
| go-fasthttp | Flagship | 2512 | 29 of 88 | 2 of 6 |
| gin | Flagship | 1396 | 54 of 88 | 3 of 6 |
| echo | Flagship | 1373 | 56 of 88 | 4 of 6 |
| go-stdlib | Flagship tuned | 1322 | 76 of 114 | 6 of 8 |
| chi | Flagship | 1314 | 58 of 88 | 5 of 6 |
| zinc | Emerging | 1257 | 63 of 88 | 6 of 6 |
Experimental frameworks
| Framework | Type | Composite | Rank in its league | Rank among Go |
|---|---|---|---|---|
| fib-tuned | Experimental tuned | 4204 | 15 of 34 | 1 of 3 |
| fib | Experimental | 4128 | 14 of 32 | 1 of 2 |
| fnet-h1 | Experimental | 3555 | 18 of 32 | 2 of 2 |
Reverse proxies and static-file servers
| Server | Type | Composite | Rank in its league | Rank among Go |
|---|---|---|---|---|
| fit | Infrastructure | 2614 | 5 of 9 | 1 of 2 |
| caddy | Infrastructure | 521 | 8 of 9 | 2 of 2 |
HTTP/2
Frameworks
| Framework | Type | Composite | Rank in its league | Rank among Go |
|---|---|---|---|---|
| go-stdlib | Flagship tuned | 357 | 38 of 45 | 1 of 2 |
| zinc | Emerging | 178 | 30 of 34 | 2 of 2 |
Experimental frameworks
| Framework | Type | Composite | Rank in its league | Rank among Go |
|---|---|---|---|---|
| fib-tuned | Experimental tuned | 2709 | 7 of 20 | 1 of 2 |
| fib | Experimental | 2654 | 7 of 18 | 2 of 2 |
Reverse proxies and static-file servers
| Server | Type | Composite | Rank in its league | Rank among Go |
|---|---|---|---|---|
| fit | Infrastructure | 678 | 4 of 8 | 1 of 2 |
| caddy | Infrastructure | 91 | 7 of 8 | 2 of 2 |
HTTP/3
Frameworks
Experimental frameworks
| Framework | Type | Composite | Rank in its league | Rank among Go |
|---|---|---|---|---|
| fib | Experimental | 1684 | 4 of 11 | 1 of 2 |
| fib-tuned | Experimental tuned | 1680 | 5 of 13 | 2 of 2 |
Reverse proxies and static-file servers
| Server | Type | Composite | Rank in its league | Rank among Go |
|---|---|---|---|---|
| fit | Infrastructure | 1228 | 3 of 6 | 1 of 2 |
| caddy | Infrastructure | 63 | 6 of 6 | 2 of 2 |
gRPC
Frameworks
Experimental frameworks
| Framework | Type | Composite | Rank in its league | Rank among Go |
|---|---|---|---|---|
| fib-tuned | Experimental tuned | 1654 | 4 of 10 | 1 of 2 |
| fib | Experimental | 1611 | 4 of 8 | 2 of 2 |
WebSocket
Frameworks
| Framework | Type | Composite | Rank in its league | Rank among Go |
|---|---|---|---|---|
| fiber | Flagship | 1468 | 15 of 31 | 1 of 2 |
| go-websocket | Emerging tuned | 243 | 39 of 41 | 2 of 2 |
Experimental frameworks
| Framework | Type | Composite | Rank in its league | Rank among Go |
|---|---|---|---|---|
| fnet-ws | Experimental | 2666 | 8 of 23 | 1 of 3 |
| fib | Experimental | 2507 | 9 of 23 | 2 of 3 |
| uio-ws | Experimental | 2438 | 11 of 23 | 3 of 3 |
Questions
What is the fastest Go web framework?
fiber-tuned leads the Go web frameworks in HttpArena with a composite score of 4227 on HTTP/1.1, measured over Alpha Round. The composite sums a normalized score across the profiles of a family, where the leader of each profile scores 1,000. Against every language, fiber-tuned ranks 18 of 114 in its league. It is a tuned entry, so it is ranked in the field that includes tuned configurations.
What is the fastest experimental Go framework?
fib-tuned leads the experimental Go frameworks in HttpArena with a composite score of 4204 on HTTP/1.1, measured over Alpha Round. Against every language, fib-tuned ranks 15 of 34 in its league. It is a tuned entry, so it is ranked in the field that includes tuned configurations.
What is the fastest Go reverse proxy or static-file server?
fit leads the Go reverse proxies and static-file servers in HttpArena with a composite score of 2614 on HTTP/1.1, measured over Alpha Round. Against every language, fit ranks 5 of 9 in its league.
Why are Go entries ranked in separate leagues?
HttpArena ranks web frameworks, experimental frameworks, and reverse proxies and static-file servers apart. Each league is normalized against its own leader, and the leagues do not all count the same profiles. A composite from one league is therefore not on the same scale as a composite from another, and the higher number across two leagues is not the faster server. To set two entries from different leagues against each other, use the Go head-to-head comparison, which lines up every test both of them ran.
What is the fastest Go HTTP/2 server?
Among web frameworks, go-stdlib (composite 357, 38 of 45 in that league); among experimental frameworks, fib-tuned (composite 2709, 7 of 20 in that league); among reverse proxies and static-file servers, fit (composite 678, 4 of 8 in that league). The leagues are scored separately, so those composites are not on one scale.
What is the fastest Go HTTP/3 server?
Among web frameworks, quic-go (composite 190, 13 of 17 in that league); among experimental frameworks, fib (composite 1684, 4 of 11 in that league); among reverse proxies and static-file servers, fit (composite 1228, 3 of 6 in that league). The leagues are scored separately, so those composites are not on one scale.
What is the fastest Go gRPC server?
Among web frameworks, grpc-go (composite 241, 14 of 15 in that league); among experimental frameworks, fib-tuned (composite 1654, 4 of 10 in that league). The leagues are scored separately, so those composites are not on one scale.
What is the fastest Go WebSocket server?
Among web frameworks, fiber (composite 1468, 15 of 31 in that league); among experimental frameworks, fnet-ws (composite 2666, 8 of 23 in that league). The leagues are scored separately, so those composites are not on one scale.
How many Go web frameworks are benchmarked?
18 Go entries are measured, covering HTTP/1.1, HTTP/2, HTTP/3, gRPC, WebSocket. Every one runs on the same machine, in the same round (Alpha Round), against the same profiles.
Is Go fast for web servers?
The leading Go web framework, fiber-tuned, places 18 of 114 on HTTP/1.1 across every language in its league, so that placing is the honest answer for Go at its best rather than for Go in general. The tables below show the spread across all 18 entries.
Every Go entry
- caddy
- chi
- echo
- fib
- fib-tuned
- fiber
- fiber-tuned
- fit
- fnet-h1
- fnet-ws
- gin
- go-fasthttp
- go-stdlib
- go-websocket
- grpc-go
- quic-go
- uio-ws
- zinc
Other languages
Assembly · C · C# · C++ · Clojure · D · Dart · Elixir · Erlang · F# · Goose · Haskell · Java · JS · Julia · Koru · Kotlin · Lua · Luau · Mojo · OCaml · Perl · PHP · Python · Ruby · Rust · Scala · Sober · Swift · TS · V · Valk · Zig
Results updated · Alpha Round · Compare two Go entries · All languages · Open the leaderboard