HttpArena

hapi

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

hapi 21 on the Node http server, default configuration, one cluster worker per core. Routing, query and payload parsing, JSON serialization and compression are all hapi built-ins, with brotli (quality 3) registered through hapi's encoder API - no plugins.

Composite rank

Each profile of a family is worth 1,000 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.157 of 861790

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,096508,9778.05ms10.10ms6413.6%6.9GiB
ConnectionPipelined4,0961,476,76144.29ms49.60ms6606.5%7.1GiB
ConnectionShort-lived4,096276,0203.31ms19.70ms3968.6%6.7GiB
ConcurrencyAsync Delay32,000731,38121.85ms33.70ms5814.8%6.3GiB
EfficiencyLatency-10K1,0249,953187.4us300.0us167.7%2.2GiB
EfficiencyLatency-1M1,024670,7603207354.4us7755776.0us6511.6%5.7GiB
WorkloadJSON Comp4,09688,34546.34ms109.60ms6435.6%9.3GiB
WorkloadJSON Comp16,38492,26171.31ms580.40ms6279.2%9.7GiB
WorkloadJSON TLS4,096420,5859.49ms53.13ms6444.5%6.8GiB
Workload8Gbit51249,360274.4us666.0us1303.7%4.6GiB

Compared with

The JS web frameworks around hapi on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.

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

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