C++ web framework comparison: any two, head to head
cinatra is ahead of cutelyst on 8 of the 8 tests they both run. On the HTTP/1.1 composite cinatra scores 6508 and cutelyst 3206.
Pick any two of the 15 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. The fixed-rate profiles offer every entry the same request rate, so they are compared on their score out of 100 instead, which is CPU cost and latency at that rate. What each profile measures.
| Profile | Conns | cinatra | cutelyst | Delta | cinatra p99 | cutelyst p99 |
|---|---|---|---|---|---|---|
| Requests per second | ||||||
| Baseline | 4,096 | 3,455,004 | 2,153,860 | +60% | 1.69ms | 4.68ms |
| Pipelined | 4,096 | 28,195,693 | 10,167,331 | +177% | 5.33ms | 12.60ms |
| Short-lived | 4,096 | 2,512,110 | 1,736,401 | +45% | 6.56ms | 6.42ms |
| Async Delay | 32,000 | 2,269,622 | 761,563 | +198% | 15.60ms | 55.60ms |
| JSON TLS | 4,096 | 1,519,177 | 326,846 | +365% | 70.08ms | 478.05ms |
| Fixed-rate profiles: score out of 100 | ||||||
| Latency-10K | 1,024 | 86.3 | 74.7 | +16% | 100us | 120us |
| Latency-1M | 1,024 | 90.7 | 68.3 | +33% | 168us | 276us |
| 8Gbit | 512 | 86.8 | 70.6 | +23% | 114us | 158us |
Common comparisons
cinatra vs cutelyst · cinatra vs drogon · cinatra vs userver · cutelyst vs drogon · cutelyst vs userver · drogon vs userver
Questions
Is cinatra faster than cutelyst?
cinatra is ahead of cutelyst on 8 of the 8 tests they both run. On the HTTP/1.1 composite cinatra scores 6508 and cutelyst 3206. Both run on the same machine, in the same round, against the same profiles.
Is cinatra faster than drogon?
cinatra is ahead of drogon on 10 of the 10 tests they both run. On the HTTP/1.1 composite cinatra scores 6508 and drogon 3080. Both run on the same machine, in the same round, against the same profiles.
Is cinatra faster than userver?
cinatra is ahead of userver on 10 of the 10 tests they both run. On the HTTP/1.1 composite cinatra scores 6508 and userver 2069. Both run on the same machine, in the same round, against the same profiles.
Is cutelyst faster than drogon?
cutelyst is ahead of drogon on 5 of the 8 tests they both run, and behind on 3. On the HTTP/1.1 composite cutelyst scores 3206 and drogon 3080. Both run on the same machine, in the same round, against the same profiles.
Which C++ framework is fastest overall?
Among the C++ web frameworks, cinatra holds the highest HTTP/1.1 composite, at 6508; among the C++ HTTP engines, cnetmod holds the highest HTTP/1.1 composite, at 5292; among the experimental C++ frameworks, aegon holds the highest HTTP/1.1 composite, at 6098; among the C++ reverse proxies and static-file servers, agensio holds the highest HTTP/1.1 composite, at 3875. Each league is measured against its own leader, and the leagues do not all count the same profiles, so those numbers are not on one scale and the highest of them is not the fastest entry on the page: to set an entry of one league against an entry of another, pick the two in the table above. 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
- cinatra
- libuvcpp
- cutelyst
- drogon
- userver
- cnetmod
- proxygen
- proxygen-coro
- aegon
- doba
- hical
- paozhu
- agensio
- BT-YE
- WebFramework C++
Results updated · C++ composite ranking · Compare across languages · Other languages · Open the leaderboard