HttpArena
Frameworks

C++ web framework benchmarks: performance comparison

The fastest C++ web framework in HttpArena is aegon, with a composite of 7228 on HTTP/1.1 — 5 of 26 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++
aegonExperimental72285 of 261 of 2
cnetmodEngine62247 of 451 of 3
hicalExperimental57939 of 262 of 2
libuvcppEmerging489614 of 841 of 4
agensioInfrastructure44501 of 8—
drogonFlagship425219 of 842 of 4
cutelystFlagship422420 of 843 of 4
userverFlagship302836 of 844 of 4
proxygenEngine122537 of 452 of 3
proxygen-coroEngine107239 of 453 of 3

HTTP/2

FrameworkTypeCompositeRank overallRank among C++
aegonExperimental30973 of 12—
cnetmodEngine28861 of 161 of 3
libuvcppEmerging22855 of 30—
agensioInfrastructure19121 of 7—
proxygenEngine10985 of 162 of 3
proxygen-coroEngine9528 of 163 of 3

HTTP/3

FrameworkTypeCompositeRank overallRank among C++
agensioInfrastructure19181 of 5—
cnetmodEngine17891 of 81 of 3
aegonExperimental16893 of 9—
libuvcppEmerging14652 of 15—
proxygen-coroEngine6094 of 82 of 3
proxygenEngine5505 of 83 of 3

Gateway

FrameworkTypeCompositeRank overallRank among C++
cnetmodEngine28912 of 3—
libuvcppEmerging22293 of 8—

gRPC

FrameworkTypeCompositeRank overallRank among C++
aegonExperimental20001 of 5—
cnetmodEngine20001 of 4—
libuvcppEmerging11804 of 9—

WebSocket

FrameworkTypeCompositeRank overallRank among C++
aegonExperimental29383 of 201 of 2
cnetmodEngine27862 of 201 of 3
hicalExperimental218012 of 202 of 2
libuvcppEmerging20249 of 29—
proxygenEngine19008 of 202 of 3
proxygen-coroEngine130612 of 203 of 3

Questions

What is the fastest C++ web framework?

aegon leads the C++ entries in HttpArena with a composite score of 7228 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, aegon ranks 5 of 26 in its own league.

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

aegon, with a composite of 3097 on HTTP/2 and 3 of 12 against all languages in its league.

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

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

What is the fastest C++ Gateway server?

cnetmod, with a composite of 2891 on Gateway and 2 of 3 against all languages in its league.

What is the fastest C++ gRPC server?

aegon, with a composite of 2000 on gRPC and 1 of 5 against all languages in its league.

What is the fastest C++ WebSocket server?

aegon, with a composite of 2938 on WebSocket and 3 of 20 against all languages in its league.

How many C++ web frameworks are benchmarked?

11 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, aegon, places 5 of 26 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 11 entries.

Every C++ entry

Other languages

C · C# · Clojure · D · Dart · Elixir · Erlang · F# · Go · 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 C++ entries · All languages · Open the leaderboard