HttpArena
Frameworks

viltrum

Experimental · V · standard configuration · completeness 4/4

HTTP framework for V with its own engine: one SO_REUSEPORT epoll worker per CPU, pipelined responses batched into one write, and no allocation per request inside the framework (CI-enforced). Router with :params, middleware chain (c.next()), compile-time JSON encoder, gzip middleware on its own DEFLATE encoder, static files with ETag, ranges and precompressed .br/.gz copies. TLS 1.3 on the same workers: the common handshake (X25519, RSA-PSS) and the AES-GCM records on its own code, the rest on mbedtls, the TLS library V ships; certificates reloaded when the files change. HTTP/2 on the same workers and through the same router and Ctx: over TLS by ALPN and cleartext with prior knowledge, its own HPACK, flow control and RFC 9113 limits. WebSocket (RFC 6455) on the same workers, messages handed over as views into the read buffer. Request framing is smuggling-hardened (Content-Length and chunked) and fuzzed in CI. Default configuration.

Achievements

🥇 11 Gold · 🥈 3 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/1.11 of 30
🥇 GoldFamily compositeComposite · HTTP/21 of 16
🥇 GoldFamily compositeComposite · WebSocket1 of 23
🥇 GoldTest profileConnection · Short-lived1 of 30
🥇 GoldTest profileHTTP/2 · Baseline1 of 15
🥇 GoldTest profileHTTP/2 · Baseline (h2c)1 of 16
🥇 GoldTest profileHTTP/2 · JSON (h2c)1 of 16
🥇 GoldTest profileHTTP/2 · Static1 of 15
🥇 GoldTest profileWebSocket · Echo Pipelined1 of 23
🥇 GoldTest profileWebSocket · Echo Short-lived1 of 21
🥇 GoldTest profileWorkload · JSON Comp1 of 27
🥈 SilverTest profileConcurrency · Async Delay2 of 26
🥈 SilverTest profileWebSocket · Echo2 of 23
🥈 SilverTest profileWorkload · JSON TLS2 of 27

Composite rank

Each profile of a family is worth 1,000 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.11 of 307858
HTTP/21 of 164000
WebSocket1 of 232980

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0963,955,4571.04ms2.21ms6161.1%83MiB
ConnectionPipelined4,09631,405,6812.09ms3.17ms6744.4%80MiB
ConnectionShort-lived4,0962,741,0901.36ms2.21ms5558.2%91MiB
ConcurrencyAsync Delay32,0002,824,49011.25ms13.20ms5256.0%201MiB
EfficiencyLatency-10K1,0249,98172.9us101.0us22.9%48MiB
EfficiencyLatency-1M1,024997,71197.1us167.0us2241.0%50MiB
EfficiencyLatency-500K/81,024498,7371039.6us9612.0us778.7%22MiB
WorkloadJSON Comp4,096936,9804.34ms13.00ms6360.3%84MiB
WorkloadJSON Comp16,384924,05417.65ms45.10ms6384.2%200MiB
WorkloadJSON TLS4,0961,820,9091.35ms40.13ms5229.8%179MiB
Workload8Gbit51249,06878.5us104.0us177.8%62MiB
HTTP/2Baseline25614,441,073969us40.33ms3559.8%56MiB
HTTP/2Baseline1,02414,216,6533.60ms90.80ms3614.8%100MiB
HTTP/2Static2561,489,2955.45ms60.64ms6439.5%144MiB
HTTP/2Static1,0241,464,73221.29ms189.58ms6135.4%366MiB
HTTP/2Baseline (h2c)25614,771,789999us35.41ms3670.9%44MiB
HTTP/2Baseline (h2c)1,02414,792,9243.65ms51.79ms3625.5%62MiB
HTTP/2Baseline (h2c)4,09614,129,25014.77ms80.43ms3522.2%134MiB
HTTP/2JSON (h2c)1,0244,943,9616.64ms89.59ms6491.6%168MiB
HTTP/2JSON (h2c)4,0964,762,39429.14ms260.26ms5926.3%372MiB
WebSocketEcho5124,200,286121us295us6176.3%43MiB
WebSocketEcho4,0964,304,573951us2.05ms6202.2%80MiB
WebSocketEcho16,3844,102,6063.97ms7.88ms6095.6%200MiB
WebSocketEcho Pipelined51263,153,846129us378us6413.7%44MiB
WebSocketEcho Pipelined4,09664,623,6921.01ms2.18ms6247.6%77MiB
WebSocketEcho Pipelined16,38461,148,6434.27ms8.65ms6036.3%198MiB
WebSocketEcho Short-lived5122,219,481124us427us5201.2%50MiB
WebSocketEcho Short-lived4,0962,600,5021.03ms1.89ms5516.2%89MiB

Compare viltrum with any V entry · Compare viltrum with any entry, in any language · Every V entry, ranked

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