HttpArena
Frameworks

spliffy

Emerging · JS · engine: uwebsockets · standard configuration · completeness 4/4

spliffy: directory based routing on uWebSockets.js. A route is a file, a handler returns the response, static files and WebSockets come from the same tree.

Achievements

🥇 1 Gold · 🥈 1 Silver · 🥉 1 Bronze. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.

MedalAwardFieldRank
🥇 GoldWithin its languageJS · HTTP/1.11 of 7
🥈 SilverTest profileConcurrency · Async Delay2 of 81
🥉 BronzeTest profileWorkload · JSON Comp3 of 81

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.15 of 856418
WebSocket8 of 302333

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0962,252,5541.82ms3.22ms6494.3%1.8GiB
ConnectionPipelined4,09632,385,9802.02ms3.31ms6466.1%1.2GiB
ConnectionShort-lived4,0961,975,4982.06ms7.91ms6548.0%1.7GiB
ConcurrencyAsync Delay32,0002,344,04913.55ms15.30ms6319.7%4.8GiB
EfficiencyLatency-10K1,0249,98279.0us113.0us31.6%1.2GiB
EfficiencyLatency-1M1,024998,054111.3us209.0us3047.3%1.4GiB
EfficiencyLatency-500K/81,024426,6291310540.7us5326848.0us793.9%226MiB
WorkloadJSON Comp4,096452,6889.03ms25.50ms6319.9%2.1GiB
WorkloadJSON Comp16,384451,04736.06ms83.80ms6273.8%2.9GiB
WorkloadJSON TLS4,0961,218,3153.35ms66.38ms6552.6%1.8GiB
Workload8Gbit51249,36498.5us132.0us250.3%1.8GiB
WorkloadStatic TLS1,024605,5101.72ms25.27ms6567.7%1.7GiB
DatabaseAsync DB1,024205,6384.49ms19.90ms5855.0%2.9GiB
DatabaseFortunes1,02462,70414.96ms23.90ms6405.9%3.9GiB
WebSocketEcho5123,657,085139us366us6390.9%1.5GiB
WebSocketEcho4,0963,745,8921.09ms2.33ms6539.5%1.5GiB
WebSocketEcho16,3843,560,2894.58ms8.94ms6492.9%1.6GiB
WebSocketEcho Pipelined51225,037,756326us859us6721.6%1.5GiB
WebSocketEcho Pipelined4,09624,945,0922.62ms5.01ms6512.3%1.6GiB
WebSocketEcho Pipelined16,38423,693,36910.87ms14.30ms6274.2%1.7GiB
WebSocketEcho Short-lived5122,081,691150us527us5643.4%1.5GiB
WebSocketEcho Short-lived4,0962,524,9341.07ms2.61ms5980.1%1.6GiB

Compared with

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

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