HttpArena
Frameworks

Go web framework benchmarks: performance comparison

The fastest Go web framework in HttpArena is fiber-tuned, with a composite of 6394 on HTTP/1.1 — 3 of 91 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 tuned63943 of 911 of 7
fiberFlagship57266 of 721 of 5
go-fasthttpFlagship323424 of 722 of 5
fib-tunedExperimental tuned28445 of 81 of 2
fibExperimental28204 of 52 of 2
echoFlagship229538 of 723 of 5
ginFlagship226640 of 724 of 5
chiFlagship220941 of 725 of 5
go-stdlibFlagship tuned188658 of 917 of 7
caddyInfrastructure8284 of 5—

HTTP/2

FrameworkTypeCompositeRank overallRank among Go
fib-tunedExperimental tuned4304 of 51 of 2
fibExperimental4292 of 22 of 2
caddyInfrastructure1684 of 4—

HTTP/3

FrameworkTypeCompositeRank overallRank among Go
fib-tunedExperimental tuned8322 of 41 of 2
fibExperimental8121 of 22 of 2
caddyInfrastructure1362 of 2—

gRPC

FrameworkTypeCompositeRank overallRank among Go
grpc-goEmerging tuned4456 of 8—

WebSocket

FrameworkTypeCompositeRank overallRank among Go
fiberFlagship16587 of 201 of 2
fibExperimental8853 of 4—
go-websocketEmerging tuned25725 of 272 of 2

Questions

What is the fastest Go web framework?

fiber-tuned leads the Go entries in HttpArena with a composite score of 6394 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 91 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 430 on HTTP/2 and 4 of 5 against all languages in its league.

What is the fastest Go HTTP/3 server?

fib-tuned, with a composite of 832 on HTTP/3 and 2 of 4 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?

fiber, with a composite of 1658 on WebSocket and 7 of 20 against all languages in its league.

How many Go web frameworks are benchmarked?

12 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 91 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 12 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