HttpArena

BT-YE

Experimental · C++ · engine: hidi · standard configuration · completeness 4/4

C++23 framework for HTTP/2 services on hidi: an actor per core, coroutines, server and client generated from an OpenAPI spec by svarg. Serves h2 on :8443 and h2c (prior knowledge) on :8082.

Achievements

🥇 6 Gold. 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 18
🥇 GoldWithin its languageC++ · HTTP/21 of 3
🥇 GoldTest profileHTTP/2 · Baseline1 of 16
🥇 GoldTest profileHTTP/2 · Baseline (h2c)1 of 18
🥇 GoldTest profileHTTP/2 · JSON (h2c)1 of 18
🥇 GoldTest profileHTTP/2 · Static1 of 16

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 184000

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
HTTP/2Baseline25615,908,290825us1.60ms3384.3%48MiB
HTTP/2Baseline1,02415,498,0193.45ms9.43ms3158.1%78MiB
HTTP/2Static2561,676,3104.04ms7.64ms6376.5%202MiB
HTTP/2Static1,0241,604,24818.99ms47.76ms6203.7%332MiB
HTTP/2Baseline (h2c)25616,057,673819us1.57ms3095.5%32MiB
HTTP/2Baseline (h2c)1,02415,870,0003.13ms5.04ms3003.7%54MiB
HTTP/2Baseline (h2c)4,09614,743,35913.23ms43.86ms2931.9%138MiB
HTTP/2JSON (h2c)1,0244,840,6596.63ms17.11ms6258.2%77MiB
HTTP/2JSON (h2c)4,0964,709,18726.99ms55.61ms6461.5%207MiB

Compared with

The experimental C++ frameworks around BT-YE 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 BT-YE
aegon3368-16%head to head
paozhu701-82%head to head

Compare BT-YE with any C++ entry · Compare BT-YE with any entry, in any language · Every C++ entry, ranked

Results updated · How the benchmark is run · The machine · Add or fix an entry