C++ web framework comparison: any two, head to head
drogon is quicker than userver on 5 of the 11 profiles they both run, and behind on 5. On the HTTP/1.1 composite they score 4461 and 3256.
Pick any two of the 6 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.
| Profile | Conns | drogon req/sec | userver req/sec | Delta | drogon p99 | userver p99 |
|---|---|---|---|---|---|---|
| Baseline | 4,096 | 2,022,710 | 1,019,661 | +98% | 7.60ms | 10.00ms |
| Pipelined | 4,096 | 7,801,404 | 1,324,629 | +489% | 23.20ms | 66.00ms |
| Short-lived | 4,096 | 1,694,883 | 872,918 | +94% | 43.00ms | 13.10ms |
| Async Delay | 32,000 | 143,001 | 354,274 | -60% | 235.00ms | 391.30ms |
| Latency-10K | 1,024 | 9,982 | 9,982 | +0% | 116.0us | 137.0us |
| Latency-1M | 1,024 | 998,003 | 978,433 | +2% | 196.0us | 1072640.0us |
| Latency-500K/8 | 1,024 | 374,962 | 196,967 | +90% | 9490432.0us | 11956224.0us |
| JSON Comp | 4,096 | 127,466 | 298,148 | -57% | 483.30ms | 28.90ms |
| JSON Comp | 16,384 | 126,931 | 298,253 | -57% | 1.92s | 201.20ms |
| JSON TLS | 4,096 | 253,055 | 554,073 | -54% | 117.12ms | 109.65ms |
| 8Gbit | 512 | 49,360 | 49,423 | -0% | 132.0us | 223.0us |
Common comparisons
drogon vs userver · drogon vs hical · drogon vs proxygen · userver vs hical · userver vs proxygen · hical vs proxygen
Questions
Is drogon faster than userver?
drogon is quicker than userver on 5 of the 11 profiles they both run, and behind on 5. On the HTTP/1.1 composite they score 4461 and 3256. Both run on the same machine, in the same round, against the same profiles.
Is drogon faster than hical?
hical is quicker than drogon on 5 of the 7 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 4461 and 3349. Both run on the same machine, in the same round, against the same profiles.
Is drogon faster than proxygen?
proxygen is quicker than drogon on 4 of the 6 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 4461 and 1227. 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 5 of the 7 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 3256 and 3349. Both run on the same machine, in the same round, against the same profiles.
Which C++ framework is fastest overall?
drogon holds the highest HTTP/1.1 composite of the C++ entries, at 4461. 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 · Compare across languages · Other languages · Open the leaderboard