C++ web framework benchmarks
The fastest C++ web framework in HttpArena is userver, with a composite of 518 on HTTP/1.1 — 12 of 71 against every language in its league. Measured over Alpha Round, every entry on the same machine.
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. 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.
HTTP/1.1
| Framework | Type | Composite | Rank overall | Rank among C++ |
|---|---|---|---|---|
| userver | Flagship | 518 | 12 of 71 | 1 of 2 |
| iris | Engine | 379 | 3 of 34 | 1 of 2 |
| drogon | Flagship | 240 | 34 of 71 | 2 of 2 |
| hical | Engine | 155 | 17 of 34 | 2 of 2 |
WebSocket
| Framework | Type | Composite | Rank overall | Rank among C++ |
|---|---|---|---|---|
| hical | Engine | 77 | 9 of 9 | — |
Questions
What is the fastest C++ web framework?
userver leads the C++ entries in HttpArena with a composite score of 518 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, userver ranks 12 of 71 in its own league.
What is the fastest C++ WebSocket server?
hical, with a composite of 77 on WebSocket and 9 of 9 against all languages in its league.
How many C++ web frameworks are benchmarked?
4 C++ entries are measured, covering HTTP/1.1, 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, userver, places 12 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 4 entries.
Every C++ entry
Alpha Round · All languages · Open the leaderboard