HttpArena
Frameworks

C++ web framework benchmarks: performance comparison

The fastest C++ web framework in HttpArena is hical, with a composite of 6236 on HTTP/1.1 — 3 of 7 against every language in its league. Measured over Alpha Round, every entry on the same machine.

Compare any two C++ entries profile by profile →

Every C++ 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 C++ narrows the same field to this language. Both link through to the board view they were taken in. How the score works.

WebFramework C++ has no published rank in any family yet, so it is listed below the tables only.

HTTP/1.1

FrameworkTypeCompositeRank overallRank among C++
hicalExperimental62363 of 7—
libuvcppEmerging503711 of 761 of 4
agensioInfrastructure49491 of 6—
drogonFlagship435016 of 762 of 4
cutelystFlagship432817 of 763 of 4
userverFlagship320529 of 764 of 4
proxygenEngine122732 of 391 of 2
proxygen-coroEngine107334 of 392 of 2

HTTP/2

FrameworkTypeCompositeRank overallRank among C++
libuvcppEmerging21203 of 23—
agensioInfrastructure19121 of 5—
proxygenEngine11284 of 141 of 2
proxygen-coroEngine9766 of 142 of 2

HTTP/3

FrameworkTypeCompositeRank overallRank among C++
agensioInfrastructure20001 of 3—
proxygen-coroEngine7803 of 61 of 2
libuvcppEmerging7345 of 13—
proxygenEngine7144 of 62 of 2

Gateway

FrameworkTypeCompositeRank overallRank among C++
libuvcppEmerging14544 of 7—

gRPC

FrameworkTypeCompositeRank overallRank among C++
libuvcppEmerging17462 of 6—

WebSocket

FrameworkTypeCompositeRank overallRank among C++
libuvcppEmerging20234 of 23—
proxygenEngine19007 of 181 of 2
hicalExperimental18386 of 7—
proxygen-coroEngine130610 of 182 of 2

Questions

What is the fastest C++ web framework?

hical leads the C++ entries in HttpArena with a composite score of 6236 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, hical ranks 3 of 7 in its own league.

What is the fastest C++ HTTP/2 server?

libuvcpp, with a composite of 2120 on HTTP/2 and 3 of 23 against all languages in its league.

What is the fastest C++ HTTP/3 server?

agensio, with a composite of 2000 on HTTP/3 and 1 of 3 against all languages in its league.

What is the fastest C++ Gateway server?

libuvcpp, with a composite of 1454 on Gateway and 4 of 7 against all languages in its league.

What is the fastest C++ gRPC server?

libuvcpp, with a composite of 1746 on gRPC and 2 of 6 against all languages in its league.

What is the fastest C++ WebSocket server?

libuvcpp, with a composite of 2023 on WebSocket and 4 of 23 against all languages in its league.

How many C++ web frameworks are benchmarked?

9 C++ entries are measured, covering HTTP/1.1, HTTP/2, HTTP/3, Gateway, gRPC, WebSocket. Every one runs on the same machine, in the same round (Alpha Round), against the same profiles.

Is C++ fast for web servers?

The quickest C++ entry, hical, places 3 of 7 on HTTP/1.1 across every language in its league, so that placing is the honest answer for C++ at its best rather than for C++ in general. The tables below show the spread across all 9 entries.

Every C++ entry

Other languages

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

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