HttpArena
Frameworks

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.

FamilyRankComposite
HTTP/1.140 of 712037

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096744,1665.51ms8.61ms6354.4%632MiB
ConnectionPipelined4,096798,27580.60ms195.50ms6577.1%649MiB
ConnectionShort-lived4,096706,9195.76ms90.40ms6447.4%610MiB
EfficiencyLatency-10K1,0249,979137.8us224.0us82.7%610MiB
EfficiencyLatency-1M1,024728,0092424730.3us8679424.0us6321.6%630MiB
EfficiencyLatency-500K/81,024111,1207700818.7us15601664.0us769.8%107MiB
WorkloadJSON Comp4,09684,53445.82ms842.20ms6325.5%645MiB
WorkloadJSON Comp16,38481,566154.70ms2.57s6071.4%716MiB
WorkloadJSON TLS4,096232,19617.11ms40.86ms6474.6%777MiB
Workload8Gbit51249,403167.1us359.0us582.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