HttpArena
Frameworks

Go web framework benchmarks: performance comparison

The fastest Go web framework in HttpArena is fiber-tuned, with a composite of 5998 on HTTP/1.1 — 11 of 107 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 tuned599811 of 1071 of 8
fiberFlagship56318 of 841 of 6
fib-tunedExperimental tuned539014 of 291 of 3
fibExperimental503213 of 261 of 2
fnet-h1Experimental457314 of 262 of 2
go-fasthttpFlagship350327 of 842 of 6
fitInfrastructure32793 of 81 of 2
echoFlagship211049 of 843 of 6
ginFlagship209851 of 844 of 6
chiFlagship203852 of 845 of 6
zincEmerging195753 of 846 of 6
go-stdlibFlagship tuned175474 of 1078 of 8
caddyInfrastructure6067 of 82 of 2

HTTP/2

FrameworkTypeCompositeRank overallRank among Go
fib-tunedExperimental tuned28675 of 151 of 2
fibExperimental25295 of 122 of 2
fitInfrastructure7394 of 71 of 2
zincEmerging24426 of 30—
caddyInfrastructure1016 of 72 of 2

HTTP/3

FrameworkTypeCompositeRank overallRank among Go
fibExperimental18792 of 91 of 2
fib-tunedExperimental tuned18543 of 112 of 2
fitInfrastructure14432 of 51 of 2
caddyInfrastructure695 of 52 of 2

gRPC

FrameworkTypeCompositeRank overallRank among Go
fib-tunedExperimental tuned16613 of 81 of 2
fibExperimental15803 of 52 of 2
grpc-goEmerging tuned26812 of 13—

WebSocket

FrameworkTypeCompositeRank overallRank among Go
fnet-wsExperimental27177 of 201 of 3
fibExperimental25248 of 202 of 3
uio-wsExperimental248411 of 203 of 3
fiberFlagship156413 of 291 of 2
go-websocketEmerging tuned25736 of 382 of 2

Questions

What is the fastest Go web framework?

fiber-tuned leads the Go entries in HttpArena with a composite score of 5998 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 11 of 107 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 2867 on HTTP/2 and 5 of 15 against all languages in its league.

What is the fastest Go HTTP/3 server?

fib, with a composite of 1879 on HTTP/3 and 2 of 9 against all languages in its league.

What is the fastest Go gRPC server?

fib-tuned, with a composite of 1661 on gRPC and 3 of 8 against all languages in its league.

What is the fastest Go WebSocket server?

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

How many Go web frameworks are benchmarked?

17 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 11 of 107 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 17 entries.

Every Go entry

Other languages

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 · Zig

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