HttpArena

hapi-tuned

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

The hapi entry with three things changed. Each worker binds its own listener with reusePort, created in the entry and handed to hapi, instead of taking connections from the cluster primary. Brotli runs as one synchronous call at quality 1 inside the encoder hapi's compression calls, instead of a zlib stream at quality 3. Cookie parsing, range support and connection tracking for graceful stop are switched off. Routes, query and payload parsing and JSON serialization are the hapi entry's.

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.170 of 1121941

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,096501,3548.18ms12.40ms6383.6%7.0GiB
ConnectionPipelined4,0961,506,78843.38ms58.00ms6517.2%7.2GiB
ConnectionShort-lived4,096459,6678.83ms141.70ms6300.4%7.5GiB
ConcurrencyAsync Delay32,000673,15647.53ms65.00ms6436.3%7.1GiB
EfficiencyLatency-10K1,0249,981179.2us298.0us149.3%2.8GiB
EfficiencyLatency-1M1,024681,9692867056.7us8966144.0us6539.8%5.8GiB
WorkloadJSON Comp4,096213,72718.60ms403.40ms6403.7%9.1GiB
WorkloadJSON Comp16,384215,34064.23ms1.64s6232.4%10.8GiB
WorkloadJSON TLS4,096427,1319.48ms56.89ms6439.1%6.7GiB
Workload8Gbit51249,339267.6us613.0us1232.7%4.4GiB

Compared with

The JS web frameworks around hapi-tuned 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-tuned with any JS entry · Compare hapi-tuned with any entry, in any language · Every JS entry, ranked

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