HttpArena
Frameworks

Go web framework benchmarks: performance comparison

The fastest Go web framework in HttpArena is fiber-tuned, with a composite of 6462 on HTTP/1.1 — 3 of 93 against every language in its league. Measured over Alpha Round, every entry on the same machine. This is a tuned entry.

Compare any two Go entries profile by profile →

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, and scales the sum by the entry's completeness factor. 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
fiber-tunedFlagship tuned64623 of 931 of 7
fiberFlagship57965 of 711 of 5
go-fasthttpFlagship327419 of 712 of 5
echoFlagship233032 of 713 of 5
ginFlagship230135 of 714 of 5
chiFlagship224236 of 715 of 5
go-stdlibFlagship tuned191257 of 937 of 7
caddyInfrastructure8284 of 5

HTTP/2

FrameworkTypeCompositeRank overallRank among Go
caddyInfrastructure1684 of 4

HTTP/3

FrameworkTypeCompositeRank overallRank among Go
caddyInfrastructure1362 of 2

gRPC

FrameworkTypeCompositeRank overallRank among Go
grpc-goEmerging tuned4456 of 8

WebSocket

FrameworkTypeCompositeRank overallRank among Go
go-websocketEmerging tuned25723 of 25

Questions

What is the fastest Go web framework?

fiber-tuned leads the Go entries in HttpArena with a composite score of 6462 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, fiber-tuned ranks 3 of 93 in its own league. It is a tuned entry, so it is ranked in the field that includes tuned configurations.

What is the fastest Go HTTP/2 server?

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

What is the fastest Go HTTP/3 server?

caddy, with a composite of 136 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 445 on gRPC and 6 of 8 against all languages in its league.

What is the fastest Go WebSocket server?

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

How many Go web frameworks are benchmarked?

10 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, fiber-tuned, places 3 of 93 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 10 entries.

Every Go entry

Other languages

C · C# · C++ · Clojure · D · Dart · Elixir · Erlang · F# · Haskell · Java · JS · Julia · Kotlin · Lua · Luau · Perl · PHP · Python · Ruby · Rust · Scala · Swift · TS · Zig

Results updated · Alpha Round · Compare two Go entries · All languages · Open the leaderboard