minima-ws
Engine · C# · engine: io_uring
Hand-rolled WebSocket echo on the Minima engine — a from-scratch C# multi-reactor io_uring server (direct io_uring syscalls via libc, multishot accept + multishot recv into a provided buffer ring, one ring per core with SO_REUSEPORT). The RFC 6455 handshake and the frame parser/masking/echo are written by hand on Minima's raw recv/send API; no WebSocket library.
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.
| Family | Rank | Composite |
|---|---|---|
| WebSocket | 6 of 9 | 1899 |
Every result
Alpha Round, 6 runs. Requests per second is the best of three; latency, CPU and memory come from that run.
| Category | Profile | Conns | Req/sec | Avg | p99 | CPU | Memory |
|---|---|---|---|---|---|---|---|
| WebSocket | Echo | 512 | 4,145,985 | 122us | 268us | 6167.3% | 442MiB |
| WebSocket | Echo | 4,096 | 4,263,272 | 960us | 1.25ms | 6197.1% | 542MiB |
| WebSocket | Echo | 16,384 | 3,987,143 | 4.03ms | 4.90ms | 6393.2% | 749MiB |
| WebSocket | Echo Pipelined | 512 | 62,333,664 | 130us | 294us | 6245.8% | 408MiB |
| WebSocket | Echo Pipelined | 4,096 | 63,975,814 | 1.02ms | 1.43ms | 6445.7% | 511MiB |
| WebSocket | Echo Pipelined | 16,384 | 59,426,656 | 4.31ms | 5.36ms | 6388.0% | 814MiB |
Compared with
The C# entries around minima-ws on the WebSocket composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs minima-ws | |
|---|---|---|---|
| genhttp-ioxide | 2627 | +38% | head to head |
| genhttp | 1716 | -10% | head to head |
| beskar-websocket | 1287 | -32% | head to head |
Compare minima-ws with any C# entry · Compare minima-ws with any entry, in any language · Every C# entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry