HttpArena
Frameworks

tokio-ws

Engine · Rust · engine: tokio

Hand-rolled WebSocket echo server on raw tokio — no WebSocket library. A current-thread runtime per core with SO_REUSEPORT sharding, a from-scratch RFC 6455 handshake (hand-written SHA-1 + base64) and a manual frame parser/masking + echo write path.

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. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.

FamilyRankComposite
WebSocket3 of 9197

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
WebSocketEcho5124,352,944117us213us6332.2%43MiB
WebSocketEcho4,0964,433,246923us1.19ms6228.7%176MiB
WebSocketEcho16,3844,143,5353.93ms4.67ms6399.5%590MiB
WebSocketEcho Pipelined51265,856,262123us238us6216.1%42MiB
WebSocketEcho Pipelined4,09666,930,970978us1.32ms6240.6%173MiB
WebSocketEcho Pipelined16,38461,865,3344.22ms5.03ms6397.0%592MiB

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