hidi
Engine · C++
C++20 HTTP/2 client/server library on coroutines (kelcoro). Serves h2 on :8443 and h2c (prior knowledge) on :8082.
Achievements
🥇 3 Gold · 🥈 2 Silver. 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 |
|---|---|---|---|
| 🥇 Gold | Family composite | Composite · HTTP/2 | 1 of 19 |
| 🥇 Gold | Within its language | C++ · HTTP/2 | 1 of 4 |
| 🥇 Gold | Test profile | HTTP/2 · Baseline | 1 of 18 |
| 🥈 Silver | Test profile | HTTP/2 · Baseline (h2c) | 2 of 16 |
| 🥈 Silver | Test profile | HTTP/2 · Static | 2 of 18 |
Composite rank
Each profile of a family is worth its weight × 1,000 to the entry that leads it - 1, or 0.5 apiece for two profiles that measure one thing - 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/2 | 1 of 19 | 2982 |
Every result
Alpha Round, 7 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 |
|---|---|---|---|---|---|---|---|
| HTTP/2 | Baseline | 256 | 16,290,039 | 791us | 1.45ms | 2547.6% | 46MiB |
| HTTP/2 | Baseline | 1,024 | 15,910,098 | 2.96ms | 5.31ms | 2428.5% | 72MiB |
| HTTP/2 | Static | 256 | 1,684,715 | 3.99ms | 7.52ms | 6366.2% | 202MiB |
| HTTP/2 | Static | 1,024 | 1,599,473 | 18.56ms | 31.67ms | 6457.8% | 320MiB |
| HTTP/2 | Baseline (h2c) | 256 | 16,549,325 | 748us | 1.38ms | 2426.3% | 30MiB |
| HTTP/2 | Baseline (h2c) | 1,024 | 16,279,940 | 3.01ms | 6.09ms | 2389.5% | 49MiB |
| HTTP/2 | Baseline (h2c) | 4,096 | 15,186,876 | 12.78ms | 20.33ms | 2285.9% | 136MiB |
Compared with
The C++ HTTP engines around hidi on the HTTP/2 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.
| Entry | Composite | vs hidi | |
|---|---|---|---|
| cnetmod | 2757 | -8% | head to head |
| proxygen | 1049 | -65% | head to head |
Compare hidi with any C++ entry · Compare hidi with any entry, in any language · Every C++ entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry