lapis
Flagship · Lua · engine: OpenResty · standard configuration · completeness 4/4
Lapis on OpenResty with LuaJIT, one nginx worker per core. Routing and params through the Lapis application API, cjson serialization, gzip through the nginx gzip directive.
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 | 40 of 71 | 2037 |
Every result
Alpha Round, 10 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 | 744,166 | 5.51ms | 8.61ms | 6354.4% | 632MiB |
| Connection | Pipelined | 4,096 | 798,275 | 80.60ms | 195.50ms | 6577.1% | 649MiB |
| Connection | Short-lived | 4,096 | 706,919 | 5.76ms | 90.40ms | 6447.4% | 610MiB |
| Efficiency | Latency-10K | 1,024 | 9,979 | 137.8us | 224.0us | 82.7% | 610MiB |
| Efficiency | Latency-1M | 1,024 | 728,009 | 2424730.3us | 8679424.0us | 6321.6% | 630MiB |
| Efficiency | Latency-500K/8 | 1,024 | 111,120 | 7700818.7us | 15601664.0us | 769.8% | 107MiB |
| Workload | JSON Comp | 4,096 | 84,534 | 45.82ms | 842.20ms | 6325.5% | 645MiB |
| Workload | JSON Comp | 16,384 | 81,566 | 154.70ms | 2.57s | 6071.4% | 716MiB |
| Workload | JSON TLS | 4,096 | 232,196 | 17.11ms | 40.86ms | 6474.6% | 777MiB |
| Workload | 8Gbit | 512 | 49,403 | 167.1us | 359.0us | 582.4% | 653MiB |
Compare lapis with any entry, in any language · Every Lua entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry