HttpArena

Go web framework benchmarks: performance comparison

The fastest Go web framework in HttpArena is fiber-tuned, with a composite of 4201 on HTTP/1.1 — 18 of 113 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, 16 of 35 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

FrameworkTypeCompositeRank in its leagueRank among Go
fiber-tunedFlagship tuned420118 of 1131 of 8
fiberFlagship407912 of 871 of 6
go-fasthttpFlagship250029 of 872 of 6
ginFlagship138653 of 873 of 6
echoFlagship136455 of 874 of 6
go-stdlibFlagship tuned131475 of 1136 of 8
chiFlagship130657 of 875 of 6
zincEmerging124862 of 876 of 6

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Go
fib-tunedExperimental tuned415316 of 351 of 3
fibExperimental408115 of 331 of 2
fnet-h1Experimental351219 of 332 of 2

Reverse proxies and static-file servers

ServerTypeCompositeRank in its leagueRank among Go
fitInfrastructure26145 of 91 of 2
caddyInfrastructure5218 of 92 of 2

HTTP/2

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Go
go-stdlibFlagship tuned35237 of 441 of 2
zincEmerging17429 of 332 of 2

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Go
fib-tunedExperimental tuned26368 of 211 of 2
fibExperimental25818 of 192 of 2

Reverse proxies and static-file servers

ServerTypeCompositeRank in its leagueRank among Go
fitInfrastructure6784 of 81 of 2
caddyInfrastructure917 of 82 of 2

HTTP/3

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Go
quic-goFlagship19013 of 16—

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Go
fibExperimental16845 of 121 of 2
fib-tunedExperimental tuned16806 of 142 of 2

Reverse proxies and static-file servers

ServerTypeCompositeRank in its leagueRank among Go
fitInfrastructure12283 of 61 of 2
caddyInfrastructure636 of 62 of 2

gRPC

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Go
grpc-goEmerging tuned23814 of 15—

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Go
fib-tunedExperimental tuned16235 of 111 of 2
fibExperimental15805 of 92 of 2

WebSocket

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Go
fiberFlagship146814 of 311 of 2
go-websocketEmerging tuned24339 of 412 of 2

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Go
fnet-wsExperimental26669 of 241 of 3
fibExperimental250710 of 242 of 3
uio-wsExperimental243812 of 243 of 3

Questions

What is the fastest Go web framework?

fiber-tuned leads the Go web frameworks in HttpArena with a composite score of 4201 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 113 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 4153 on HTTP/1.1, measured over Alpha Round. Against every language, fib-tuned ranks 16 of 35 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 352, 37 of 44 in that league); among experimental frameworks, fib-tuned (composite 2636, 8 of 21 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 16 in that league); among experimental frameworks, fib (composite 1684, 5 of 12 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 238, 14 of 15 in that league); among experimental frameworks, fib-tuned (composite 1623, 5 of 11 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, 14 of 31 in that league); among experimental frameworks, fnet-ws (composite 2666, 9 of 24 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 113 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

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