HttpArena

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.

MedalAwardFieldRank
🥇 GoldFamily compositeComposite · HTTP/21 of 19
🥇 GoldWithin its languageC++ · HTTP/21 of 4
🥇 GoldTest profileHTTP/2 · Baseline1 of 18
🥈 SilverTest profileHTTP/2 · Baseline (h2c)2 of 16
🥈 SilverTest profileHTTP/2 · Static2 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.

FamilyRankComposite
HTTP/21 of 192982

Every result

Alpha Round, 7 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
HTTP/2Baseline25616,290,039791us1.45ms2547.6%46MiB
HTTP/2Baseline1,02415,910,0982.96ms5.31ms2428.5%72MiB
HTTP/2Static2561,684,7153.99ms7.52ms6366.2%202MiB
HTTP/2Static1,0241,599,47318.56ms31.67ms6457.8%320MiB
HTTP/2Baseline (h2c)25616,549,325748us1.38ms2426.3%30MiB
HTTP/2Baseline (h2c)1,02416,279,9403.01ms6.09ms2389.5%49MiB
HTTP/2Baseline (h2c)4,09615,186,87612.78ms20.33ms2285.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.

EntryCompositevs hidi
cnetmod2757-8%head to head
proxygen1049-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