Explore by language

cpp web framework benchmarks

Benchmark results for 2 cpp web frameworks, measured with zrk at concurrency 64, 256, 512. Fastest at concurrency 64: drogon with 177 005 requests per second.

Compare throughput and latency together. These measurements describe a specific workload and test environment; performance in your application may differ.

Concurrency 64

cpp frameworks at concurrency 64, ranked on requests per second.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 drogon 1.9 177 005 0.09 ms 11.31 ms 0
2 oatpp 1.3 131 484 0.41 ms 0.95 ms 0

Concurrency 256

cpp frameworks at concurrency 256, ranked on requests per second.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 drogon 1.9 178 341 0.36 ms 21.32 ms 0
2 oatpp 1.3 111 675 2.11 ms 3.46 ms 0

Concurrency 512

cpp frameworks at concurrency 512, ranked on requests per second.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 drogon 1.9 171 358 0.75 ms 18.95 ms 0
2 oatpp 1.3 108 836 4.63 ms 6.00 ms 0