HttpArena

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

FrameworkTypeCompositeRank in its leagueRank among Go
fiber-tunedFlagship tuned422718 of 1141 of 8
fiberFlagship410512 of 881 of 6
go-fasthttpFlagship251229 of 882 of 6
ginFlagship139654 of 883 of 6
echoFlagship137356 of 884 of 6
go-stdlibFlagship tuned132276 of 1146 of 8
chiFlagship131458 of 885 of 6
zincEmerging125763 of 886 of 6

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Go
fib-tunedExperimental tuned420415 of 341 of 3
fibExperimental412814 of 321 of 2
fnet-h1Experimental355518 of 322 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 tuned35738 of 451 of 2
zincEmerging17830 of 342 of 2

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Go
fib-tunedExperimental tuned27097 of 201 of 2
fibExperimental26547 of 182 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 17—

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Go
fibExperimental16844 of 111 of 2
fib-tunedExperimental tuned16805 of 132 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 tuned24114 of 15—

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Go
fib-tunedExperimental tuned16544 of 101 of 2
fibExperimental16114 of 82 of 2

WebSocket

Frameworks

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

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Go
fnet-wsExperimental26668 of 231 of 3
fibExperimental25079 of 232 of 3
uio-wsExperimental243811 of 233 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

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