HttpArena
Frameworks

http-kit

Engine · Clojure

Minimal http-kit engine benchmark with HTTP/1.1 and native WebSocket echo support.

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.131 of 34839
WebSocket15 of 16136

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096154,3426.25ms14.00ms508.8%1.8GiB
ConnectionPipelined4,096317,97336.32ms56.50ms775.5%1.8GiB
ConnectionShort-lived4,096117,4113.74ms9.22ms421.7%1.8GiB
ConcurrencyAsync Delay32,00071,966212.58ms242.60ms262.0%815MiB
EfficiencyLatency-10K1,0249,86498.3us115.0us42.7%388MiB
EfficiencyLatency-1M1,024145,7178124889.5us16740352.0us421.8%752MiB
EfficiencyLatency-500K/81,024156,0226447004.6us13340672.0us406.4%611MiB
WorkloadJSON Comp4,09647,22020.02ms48.30ms6475.6%5.2GiB
WorkloadJSON Comp16,38445,85349.29ms130.40ms6658.8%5.2GiB
WebSocketEcho512224,5291.59ms2.05ms761.7%349MiB
WebSocketEcho4,096208,5543.32ms9.19ms547.5%388MiB
WebSocketEcho16,384205,5608.47ms15.40ms489.0%372MiB
WebSocketEcho Pipelined5122,281,2152.92ms4.32ms884.9%666MiB
WebSocketEcho Pipelined4,0962,064,3984.12ms7.04ms1142.2%694MiB
WebSocketEcho Pipelined16,3841,988,8126.67ms17.70ms1092.1%707MiB
WebSocketEcho Short-lived512131,1092.05ms3.41ms678.3%431MiB
WebSocketEcho Short-lived4,096133,3872.31ms3.48ms391.3%421MiB

Compared with

The Clojure entries around http-kit on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs http-kit
ring-http-exchange3649+335%head to head
hirundo1268+51%head to head
pedestal1146+37%head to head
capra665-21%head to head
busker21-97%head to head

Compare http-kit with any Clojure entry · Compare http-kit with any entry, in any language · Every Clojure entry, ranked

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