HttpArena
Frameworks

tokio-websockets

Engine · Rust · engine: tokio

High performance, strict, tokio-util based WebSockets implementation.

Achievements

🥇 1 Gold · 🥈 1 Silver. 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 languageRust · WebSocket1 of 3
🥈 SilverFamily compositeComposite · WebSocket2 of 6

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
WebSocket2 of 62256

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
WebSocketEcho5124,194,604121us281us6219.1%36MiB
WebSocketEcho4,0964,198,339970us1.37ms6085.2%98MiB
WebSocketEcho16,3843,956,0264.11ms4.77ms6432.1%337MiB
WebSocketEcho Pipelined51220,514,852398us894us6410.5%32MiB
WebSocketEcho Pipelined4,09620,757,4193.16ms4.58ms6594.5%103MiB
WebSocketEcho Pipelined16,38419,253,49213.18ms27.30ms5687.7%326MiB
WebSocketEcho Short-lived5122,171,052135us483us5328.4%56MiB
WebSocketEcho Short-lived4,0962,641,8011.02ms2.06ms5999.5%176MiB

Compared with

The Rust entries around tokio-websockets on the WebSocket composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs tokio-websockets
wtx2448+8%head to head
tokio-ws1986-12%head to head
actix1776-21%head to head

Compare tokio-websockets with any Rust entry · Compare tokio-websockets with any entry, in any language · Every Rust entry, ranked

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