HttpArena
Frameworks

koa

Flagship · JS · engine: node:http · standard configuration · completeness 4/4

Koa 3 on the Node http server, default configuration, one cluster worker per core. Routing through @koa/router, JSON through the koa response body, gzip through koa-compress.

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.141 of 712008

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096599,3625.48ms7.56ms6454.1%2.8GiB
ConnectionPipelined4,0961,242,75637.28ms60.50ms6646.3%4.2GiB
ConnectionShort-lived4,096289,2752.42ms18.50ms3459.4%4.5GiB
ConcurrencyAsync Delay32,000611,65940.48ms49.40ms5397.8%6.5GiB
EfficiencyLatency-10K1,0249,952172.6us292.0us152.1%2.2GiB
EfficiencyLatency-1M1,024648,1073410426.2us8001536.0us6216.4%2.7GiB
EfficiencyLatency-500K/81,024106,3367825945.8us15642624.0us768.6%620MiB
WorkloadJSON Comp4,09649,74265.33ms254.40ms6454.5%9.2GiB
WorkloadJSON Comp16,38449,866102.94ms1.27s6244.9%9.7GiB
WorkloadJSON TLS4,096388,3919.48ms52.63ms6409.4%6.5GiB
Workload8Gbit51249,364220.5us420.0us922.2%2.8GiB

Compared with

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

EntryCompositevs koa
fulmine.js6248+211%head to head
fastify2444+22%head to head
node2056+2%head to head
express1865-7%head to head

Compare koa with any JS entry · Compare koa with any entry, in any language · Every JS entry, ranked

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