HttpArena
Frameworks

libxev

Engine · Zig · engine: io_uring

HTTP/1.1 baseline server on libxev (mitchellh/libxev) - a Zig event loop with an io_uring backend. Callback-driven accept/read/write with picohttpparser for request parsing; one forked worker per CPU with SO_REUSEPORT.

Achievements

🥇 1 Gold · 🥈 1 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
🥇 GoldTest profileEfficiency · Latency-10K1 of 24
🥈 SilverWithin its languageZig · HTTP/1.12 of 3

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.

FamilyRankComposite
HTTP/1.18 of 263920

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0964,381,919933us1.23ms6145.5%124MiB
ConnectionShort-lived4,0962,672,6621.40ms2.13ms5431.6%164MiB
EfficiencyLatency-10K1,0249,98364.8us99.0us20.4%70MiB
EfficiencyLatency-1M1,024997,98596.1us170.0us2229.3%77MiB
EfficiencyLatency-500K/81,024498,774312.5us1123.0us804.1%32MiB

Compared with

The Zig entries around libxev on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs libxev
swerver6825+74%head to head
zix4839+23%head to head
zeemo3773-4%head to head

Compare libxev with any Zig entry · Compare libxev with any entry, in any language · Every Zig entry, ranked

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