HttpArena
Frameworks

Go web framework benchmarks

The fastest Go web framework in HttpArena is go-fasthttp, with a composite of 333 on HTTP/1.1 — 21 of 71 against every language in its league. Measured over Alpha Round, every entry on the same machine.

Every Go entry in the benchmark, compared on the composite score of each family. The composite sums a normalized score over the profiles of that family, where the leader of each profile scores 100. Rank overall is the entry's place in its own league 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.

Composite scores compare directly across every row. 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

FrameworkTypeCompositeRank overallRank among Go
go-fasthttpFlagship33321 of 711 of 5
fiberFlagship17943 of 712 of 5
go-stdlibFlagship tuned17363 of 973 of 6
echoFlagship17045 of 713 of 5
chiFlagship16746 of 714 of 5
ginFlagship16147 of 715 of 5
caddyInfrastructure1103 of 4

HTTP/2

FrameworkTypeCompositeRank overallRank among Go
caddyInfrastructure163 of 4

HTTP/3

FrameworkTypeCompositeRank overallRank among Go
caddyInfrastructure132 of 2

gRPC

FrameworkTypeCompositeRank overallRank among Go
grpc-goEmerging tuned438 of 8

WebSocket

FrameworkTypeCompositeRank overallRank among Go
go-websocketEmerging tuned2328 of 32

Questions

What is the fastest Go web framework?

go-fasthttp leads the Go entries in HttpArena with a composite score of 333 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 100. Against every language, go-fasthttp ranks 21 of 71 in its own league.

What is the fastest Go HTTP/2 server?

caddy, with a composite of 16 on HTTP/2 and 3 of 4 against all languages in its league.

What is the fastest Go HTTP/3 server?

caddy, with a composite of 13 on HTTP/3 and 2 of 2 against all languages in its league.

What is the fastest Go gRPC server?

grpc-go, with a composite of 43 on gRPC and 8 of 8 against all languages in its league.

What is the fastest Go WebSocket server?

go-websocket, with a composite of 23 on WebSocket and 28 of 32 against all languages in its league.

How many Go web frameworks are benchmarked?

9 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 quickest Go entry, go-fasthttp, places 21 of 71 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 9 entries.

Every Go entry

Alpha Round · All languages · Open the leaderboard