HttpArena
Frameworks

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 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.133 of 34665
WebSocket16 of 1674

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,096180,3012.75ms8.47ms855.4%4.6GiB
ConnectionPipelined4,09677,845186.46ms1.80s619.6%1.7GiB
ConnectionShort-lived4,09651,5471.27ms11.00ms412.9%1.4GiB
ConcurrencyAsync Delay32,00024,777175.09ms832.50ms237.7%487MiB
EfficiencyLatency-10K1,0249,562116.1us170.0us61.9%458MiB
EfficiencyLatency-1M1,02485,1557325792.1us17162240.0us371.4%782MiB
EfficiencyLatency-500K/81,024198,7494631974.8us10555392.0us639.2%896MiB
WorkloadJSON Comp4,09644,32411.33ms25.20ms6390.4%5.0GiB
WorkloadJSON Comp16,38441,88114.62ms35.30ms6084.7%5.1GiB
WebSocketEcho51297,3832.52ms5.03ms428.1%423MiB
WebSocketEcho4,09694,8665.05ms9.49ms338.8%490MiB
WebSocketEcho16,38492,9765.59ms9.52ms339.8%451MiB
WebSocketEcho Pipelined5121,222,7533.63ms8.32ms2704.1%760MiB
WebSocketEcho Pipelined4,0961,571,4694.70ms10.60ms3149.0%773MiB
WebSocketEcho Pipelined16,3841,578,4634.14ms9.25ms3163.1%749MiB
WebSocketEcho Short-lived51270,592221us2.15ms407.3%794MiB
WebSocketEcho Short-lived4,09670,730221us2.35ms408.4%819MiB

Compared with

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

EntryCompositevs capra
ring-http-exchange3649+449%head to head
pedestal1146+72%head to head
http-kit839+26%head to head
busker21-97%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