watson
Emerging · C# · standard configuration · completeness 4/4
Watson Webserver, a small async C# web server for REST endpoints, written the way a caller writes it: routes declared through Watson's own routing - static routes for the fixed paths, parameter routes for the two that carry a value - rather than a hand-rolled dispatch. HTTP/1.1 cleartext on :8080 and the same routes over TLS on :8081, which is where json-tls and 8gbit are measured. /json is serialized from the parsed model on every request and compressed only when the client asked for it, so nothing is answered from a precomputed body.
Composite rank
Each profile of a family is worth its weight × 1,000 to the entry that leads it - 1, or 0.5 apiece for two profiles that measure one thing - 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 |
|---|---|---|
| HTTP/1.1 | 80 of 87 | 442 |
Every result
Alpha Round, 10 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 |
|---|---|---|---|---|---|---|---|
| Connection | Baseline | 4,096 | 128,322 | 31.83ms | 34.90ms | 1412.3% | 189MiB |
| Connection | Pipelined | 4,096 | 129,887 | 31.45ms | 35.30ms | 1425.1% | 172MiB |
| Connection | Short-lived | 4,096 | 128,368 | 31.82ms | 35.60ms | 1464.1% | 153MiB |
| Concurrency | Async Delay | 32,000 | 88,424 | 348.98ms | 380.50ms | 1772.5% | 916MiB |
| Efficiency | Latency-10K | 1,024 | 9,979 | 103.0us | 167.0us | 260.0% | 348MiB |
| Efficiency | Latency-1M | 1,024 | 135,825 | 8610277.1us | 17080320.0us | 1390.6% | 260MiB |
| Workload | JSON Comp | 4,096 | 128,769 | 31.66ms | 37.10ms | 2163.9% | 359MiB |
| Workload | JSON Comp | 16,384 | 129,258 | 125.82ms | 133.70ms | 2154.6% | 228MiB |
| Workload | JSON TLS | 4,096 | 29,714 | 32.63ms | 149.43ms | 5000.7% | 547MiB |
| Workload | 8Gbit | 512 | 22,293 | 1345206.4us | 2692096.0us | 4510.9% | 295MiB |
Compared with
The C# web frameworks around watson 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.
| Entry | Composite | vs watson | |
|---|---|---|---|
| genhttp-ioxide | 5950 | +1246% | head to head |
| codebehind | 1895 | +329% | head to head |
| sisk | 1280 | +190% | head to head |
| servicestack | 100 | -77% | head to head |
Compare watson with any C# entry · Compare watson with any entry, in any language · Every C# entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry