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.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥇 Gold | Test profile | Efficiency · Latency-10K | 1 of 24 |
| 🥈 Silver | Within its language | Zig · HTTP/1.1 | 2 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.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 8 of 26 | 3920 |
Every result
Alpha Round, 5 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 | 4,381,919 | 933us | 1.23ms | 6145.5% | 124MiB |
| Connection | Short-lived | 4,096 | 2,672,662 | 1.40ms | 2.13ms | 5431.6% | 164MiB |
| Efficiency | Latency-10K | 1,024 | 9,983 | 64.8us | 99.0us | 20.4% | 70MiB |
| Efficiency | Latency-1M | 1,024 | 997,985 | 96.1us | 170.0us | 2229.3% | 77MiB |
| Efficiency | Latency-500K/8 | 1,024 | 498,774 | 312.5us | 1123.0us | 804.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.
| Entry | Composite | vs libxev | |
|---|---|---|---|
| swerver | 6825 | +74% | head to head |
| zix | 4839 | +23% | head to head |
| zeemo | 3773 | -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