HttpArena
Frameworks

Go web framework benchmarks: performance comparison

The fastest Go web framework in HttpArena is fib-tuned, with a composite of 7101 on HTTP/1.1 — 3 of 10 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
fib-tunedExperimental tuned71013 of 101 of 2
fiber-tunedFlagship tuned63726 of 971 of 8
fibExperimental63022 of 72 of 2
fiberFlagship59326 of 761 of 6
go-fasthttpFlagship363222 of 762 of 6
echoFlagship225241 of 763 of 6
ginFlagship222643 of 764 of 6
chiFlagship216945 of 765 of 6
zincEmerging209046 of 766 of 6
go-stdlibFlagship tuned186063 of 978 of 8
caddyInfrastructure6835 of 6—

HTTP/2

FrameworkTypeCompositeRank overallRank among Go
fib-tunedExperimental tuned30512 of 71 of 2
fibExperimental27371 of 42 of 2
zincEmerging27920 of 23—
caddyInfrastructure1015 of 5—

HTTP/3

FrameworkTypeCompositeRank overallRank among Go
fib-tunedExperimental tuned20001 of 51 of 2
fibExperimental19551 of 32 of 2
caddyInfrastructure723 of 3—

gRPC

FrameworkTypeCompositeRank overallRank among Go
fib-tunedExperimental tuned19221 of 51 of 2
fibExperimental18391 of 22 of 2
grpc-goEmerging tuned4457 of 10—

WebSocket

FrameworkTypeCompositeRank overallRank among Go
fnet-wsExperimental28931 of 71 of 3
fibExperimental27822 of 72 of 3
uio-wsExperimental21124 of 73 of 3
fiberFlagship158610 of 231 of 2
go-websocketEmerging tuned25729 of 312 of 2

Questions

What is the fastest Go web framework?

fib-tuned leads the Go entries in HttpArena with a composite score of 7101 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, fib-tuned ranks 3 of 10 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?

fib-tuned, with a composite of 3051 on HTTP/2 and 2 of 7 against all languages in its league.

What is the fastest Go HTTP/3 server?

fib-tuned, with a composite of 2000 on HTTP/3 and 1 of 5 against all languages in its league.

What is the fastest Go gRPC server?

fib-tuned, with a composite of 1922 on gRPC and 1 of 5 against all languages in its league.

What is the fastest Go WebSocket server?

fnet-ws, with a composite of 2893 on WebSocket and 1 of 7 against all languages in its league.

How many Go web frameworks are benchmarked?

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

Every Go entry

Other languages

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

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