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.
| Profile | Conns | userver req/sec | drogon req/sec | Delta | userver p99 | drogon p99 |
|---|---|---|---|---|---|---|
| Baseline | 512 | 1,026,922 | 1,971,262 | -48% | 3.60ms | 3.33ms |
| Baseline | 4,096 | 1,019,661 | 2,014,125 | -49% | 10.00ms | 8.92ms |
| Pipelined | 512 | 1,443,633 | 7,830,822 | -82% | 9.07ms | 7.05ms |
| Pipelined | 4,096 | 1,324,629 | 8,009,196 | -83% | 66.00ms | 19.20ms |
| Short-lived | 512 | 828,453 | 1,517,275 | -45% | 3.85ms | 3.49ms |
| Short-lived | 4,096 | 872,918 | 1,640,790 | -47% | 13.10ms | 58.20ms |
| JSON | 4,096 | 659,597 | 228,533 | +189% | 12.40ms | 305.30ms |
| JSON Comp | 512 | 300,206 | 86,694 | +246% | 4.54ms | 34.10ms |
| JSON Comp | 4,096 | 298,148 | 85,244 | +250% | 28.90ms | 722.20ms |
| JSON Comp | 16,384 | 298,253 | 84,687 | +252% | 201.20ms | 3.24s |
| Upload | 32 | 701 | 2,091 | -66% | 126.00ms | 73.80ms |
| Upload | 256 | 634 | 2,238 | -72% | 1.08s | 668.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