HttpArena
Frameworks

bun-websocket

Emerging · TS · engine: bun · tuned configuration

Bun WebSocket echo server

Achievements

🥇 1 Gold · 🥉 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
🥇 GoldTest profileWebSocket · Echo Pipelined1 of 21
🥉 BronzeTest profileWebSocket · Echo3 of 25

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
WebSocket4 of 251894

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
WebSocketEcho5123,555,015143us424us6072.8%668MiB
WebSocketEcho4,0963,734,7991.09ms2.96ms6225.2%643MiB
WebSocketEcho16,3843,465,9104.66ms11.10ms5836.8%752MiB
WebSocketEcho Pipelined51244,609,561182us487us6411.7%906MiB
WebSocketEcho Pipelined4,09644,900,6301.46ms3.26ms6326.2%887MiB
WebSocketEcho Pipelined16,38442,228,5726.13ms11.40ms6537.2%996MiB

Compare bun-websocket with any TS entry · Compare bun-websocket with any entry, in any language · Every TS entry, ranked

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