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.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 41 of 71 | 2008 |
Every result
Alpha Round, 11 runs. Requests per second is the best of three; latency, CPU and memory come from that run.
| Category | Profile | Conns | Req/sec | Avg | p99 | CPU | Memory |
|---|---|---|---|---|---|---|---|
| Connection | Baseline | 4,096 | 599,362 | 5.48ms | 7.56ms | 6454.1% | 2.8GiB |
| Connection | Pipelined | 4,096 | 1,242,756 | 37.28ms | 60.50ms | 6646.3% | 4.2GiB |
| Connection | Short-lived | 4,096 | 289,275 | 2.42ms | 18.50ms | 3459.4% | 4.5GiB |
| Concurrency | Async Delay | 32,000 | 611,659 | 40.48ms | 49.40ms | 5397.8% | 6.5GiB |
| Efficiency | Latency-10K | 1,024 | 9,952 | 172.6us | 292.0us | 152.1% | 2.2GiB |
| Efficiency | Latency-1M | 1,024 | 648,107 | 3410426.2us | 8001536.0us | 6216.4% | 2.7GiB |
| Efficiency | Latency-500K/8 | 1,024 | 106,336 | 7825945.8us | 15642624.0us | 768.6% | 620MiB |
| Workload | JSON Comp | 4,096 | 49,742 | 65.33ms | 254.40ms | 6454.5% | 9.2GiB |
| Workload | JSON Comp | 16,384 | 49,866 | 102.94ms | 1.27s | 6244.9% | 9.7GiB |
| Workload | JSON TLS | 4,096 | 388,391 | 9.48ms | 52.63ms | 6409.4% | 6.5GiB |
| Workload | 8Gbit | 512 | 49,364 | 220.5us | 420.0us | 922.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.
| Entry | Composite | vs koa | |
|---|---|---|---|
| fulmine.js | 6248 | +211% | head to head |
| fastify | 2444 | +22% | head to head |
| node | 2056 | +2% | head to head |
| express | 1865 | -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