drogon
Flagship · C++ · engine: trantor · standard configuration · completeness 4/4
Drogon on the trantor event loop, one event loop per core. Routing and path/query params through the Drogon API, jsoncpp serialization, gzip through the built-in response compression.
Achievements
🥉 1 Bronze. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥉 Bronze | Test profile | Connection · Short-lived | 3 of 71 |
Composite rank
Each profile of a family is worth 100 to the entry that leads it, and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 10 of 71 | 4461 |
Every result
Alpha Round, 11 runs. Requests per second is the best of three; latency, CPU and memory come from that run.
| Category | Profile | Conns | Req/sec | Avg | p99 | CPU | Memory |
|---|---|---|---|---|---|---|---|
| Connection | Baseline | 4,096 | 2,022,710 | 2.02ms | 7.60ms | 6541.8% | 147MiB |
| Connection | Pipelined | 4,096 | 7,801,404 | 8.42ms | 23.20ms | 6375.7% | 188MiB |
| Connection | Short-lived | 4,096 | 1,694,883 | 2.40ms | 43.00ms | 6643.7% | 1.3GiB |
| Concurrency | Async Delay | 32,000 | 143,001 | 221.25ms | 235.00ms | 812.0% | 572MiB |
| Efficiency | Latency-10K | 1,024 | 9,982 | 79.5us | 116.0us | 30.5% | 72MiB |
| Efficiency | Latency-1M | 1,024 | 998,003 | 108.1us | 196.0us | 3551.7% | 77MiB |
| Efficiency | Latency-500K/8 | 1,024 | 374,962 | 1996475.9us | 9490432.0us | 783.5% | 82MiB |
| Workload | JSON Comp | 4,096 | 127,466 | 31.10ms | 483.30ms | 6396.4% | 198MiB |
| Workload | JSON Comp | 16,384 | 126,931 | 101.35ms | 1.92s | 6237.6% | 405MiB |
| Workload | JSON TLS | 4,096 | 253,055 | 16.13ms | 117.12ms | 6522.1% | 506MiB |
| Workload | 8Gbit | 512 | 49,360 | 102.5us | 132.0us | 304.0% | 188MiB |
Compared with
The C++ entries around drogon on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs drogon | |
|---|---|---|---|
| hical | 3349 | -25% | head to head |
| userver | 3256 | -27% | head to head |
Compare drogon with any C++ entry · Compare drogon with any entry, in any language · Every C++ entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry