HttpArena

capra

Engine · Clojure

Minimal Capra engine benchmark pinned to upstream master with HTTP/1.1, dynamic gzip JSON, and native WebSocket echo.

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/1.146 of 46354
WebSocket20 of 2080

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096134,6547.99ms19.20ms784.7%3.9GiB
ConnectionPipelined4,09647,157575.26ms1.99s229.4%4.1GiB
ConnectionShort-lived4,09653,7951.26ms10.90ms543.0%1.5GiB
ConcurrencyAsync Delay32,00025,264306.25ms296.70ms211.0%559MiB
EfficiencyLatency-10K1,0249,696107.3us155.0us59.7%463MiB
EfficiencyLatency-1M1,02487,8407228074.8us17113088.0us397.3%462MiB
WorkloadJSON Comp4,09643,97525.90ms50.80ms6452.7%5.1GiB
WorkloadJSON Comp16,38443,72031.96ms62.30ms6325.8%5.1GiB
WebSocketEcho51294,9423.87ms5.59ms374.9%442MiB
WebSocketEcho4,09689,32815.12ms24.90ms365.9%440MiB
WebSocketEcho16,38489,8698.41ms10.60ms359.4%443MiB
WebSocketEcho Pipelined5121,622,8985.05ms10.10ms3465.6%604MiB
WebSocketEcho Pipelined4,0962,115,03810.38ms24.00ms4163.2%612MiB
WebSocketEcho Pipelined16,3842,094,71111.24ms24.60ms4279.2%650MiB
WebSocketEcho Short-lived51269,414217us1.93ms473.0%469MiB
WebSocketEcho Short-lived4,09668,855220us1.87ms411.1%464MiB

Compared with

The Clojure HTTP engines around capra on the HTTP/1.1 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 capra
Enso2766+681%head to head
pedestal864+144%head to head
http-kit462+30%head to head

Compare capra with any Clojure entry · Compare capra with any entry, in any language · Every Clojure entry, ranked

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