HttpArena
Comparisons

C++ web framework comparison: any two, head to head

drogon is quicker than userver on 8 of the 12 profiles they both run, and behind on 4. On the HTTP/1.1 composite they score 518 and 240.

Pick any two of the 4 C++ entries. Requests per second is the best of three runs and the delta is the first column against the second; every row is the same profile at the same connection count, on the same machine. What each profile measures.

ProfileConnsuserver req/secdrogon req/secDeltauserver p99drogon p99
Baseline5121,026,9221,971,262-48%3.60ms3.33ms
Baseline4,0961,019,6612,014,125-49%10.00ms8.92ms
Pipelined5121,443,6337,830,822-82%9.07ms7.05ms
Pipelined4,0961,324,6298,009,196-83%66.00ms19.20ms
Short-lived512828,4531,517,275-45%3.85ms3.49ms
Short-lived4,096872,9181,640,790-47%13.10ms58.20ms
JSON4,096659,597228,533+189%12.40ms305.30ms
JSON Comp512300,20686,694+246%4.54ms34.10ms
JSON Comp4,096298,14885,244+250%28.90ms722.20ms
JSON Comp16,384298,25384,687+252%201.20ms3.24s
Upload327012,091-66%126.00ms73.80ms
Upload2566342,238-72%1.08s668.50ms

Common comparisons

userver vs drogon · userver vs iris · userver vs hical · drogon vs iris · drogon vs hical · iris vs hical

Questions

Is userver faster than drogon?

drogon is quicker than userver on 8 of the 12 profiles they both run, and behind on 4. On the HTTP/1.1 composite they score 518 and 240. Both run on the same machine, in the same round, against the same profiles.

Is userver faster than iris?

iris is quicker than userver on 14 of the 14 profiles they both run. On the HTTP/1.1 composite they score 518 and 379. Both run on the same machine, in the same round, against the same profiles.

Is userver faster than hical?

hical is quicker than userver on 10 of the 15 profiles they both run, and behind on 5. On the HTTP/1.1 composite they score 518 and 155. Both run on the same machine, in the same round, against the same profiles.

Is drogon faster than iris?

iris is quicker than drogon on 9 of the 9 profiles they both run. On the HTTP/1.1 composite they score 240 and 379. Both run on the same machine, in the same round, against the same profiles.

Which C++ framework is fastest overall?

userver holds the highest HTTP/1.1 composite of the C++ entries, at 518. The composite is throughput over the whole suite; if a service is one shape of workload, compare that profile on its own in the table above, because the order changes.

Every C++ entry

Results updated · C++ composite ranking · Other languages · Open the leaderboard