HttpArena
Frameworks

C++ web framework benchmarks: performance comparison

The fastest C++ web framework in HttpArena is drogon, with a composite of 4461 on HTTP/1.1 — 10 of 71 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++
drogonFlagship446110 of 711 of 2
hicalEngine334914 of 261 of 3
userverFlagship325621 of 712 of 2
proxygenEngine122723 of 262 of 3
proxygen-coroEngine107324 of 263 of 3

HTTP/2

FrameworkTypeCompositeRank overallRank among C++
proxygenEngine11284 of 71 of 2
proxygen-coroEngine9765 of 72 of 2

HTTP/3

FrameworkTypeCompositeRank overallRank among C++
proxygen-coroEngine7803 of 51 of 2
proxygenEngine7144 of 52 of 2

WebSocket

FrameworkTypeCompositeRank overallRank among C++
proxygenEngine19005 of 91 of 3
proxygen-coroEngine13068 of 92 of 3
hicalEngine8029 of 93 of 3

Questions

What is the fastest C++ web framework?

drogon leads the C++ entries in HttpArena with a composite score of 4461 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, drogon ranks 10 of 71 in its own league.

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

proxygen, with a composite of 1128 on HTTP/2 and 4 of 7 against all languages in its league.

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

proxygen-coro, with a composite of 780 on HTTP/3 and 3 of 5 against all languages in its league.

What is the fastest C++ WebSocket server?

proxygen, with a composite of 1900 on WebSocket and 5 of 9 against all languages in its league.

How many C++ web frameworks are benchmarked?

6 C++ entries are measured, covering HTTP/1.1, HTTP/2, HTTP/3, 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, drogon, places 10 of 71 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 6 entries.

Every C++ entry

Other languages

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

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