genhttp-kestrel
Emerging · C# · engine: kestrel · standard configuration · completeness 4/4
Lightweight, embeddable and modular C# web server.
- Official repository
- Official website
- Benchmark implementation
- All C# entries, compared
- Open the leaderboard
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.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥇 Gold | Test profile | Efficiency · Latency-10K | 1 of 85 |
| 🥈 Silver | Within its language | C# · HTTP/3 | 2 of 5 |
Composite rank
Each profile of a family is worth 1,000 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.
Every result
Alpha Round, 26 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 | 1,357,423 | 2.54ms | 7.30ms | 5627.5% | 506MiB |
| Connection | Pipelined | 4,096 | 3,574,170 | 9.63ms | 260.60ms | 5886.1% | 483MiB |
| Connection | Short-lived | 4,096 | 470,883 | 1.34ms | 11.70ms | 3043.1% | 232MiB |
| Concurrency | Async Delay | 32,000 | 771,062 | 23.75ms | 48.50ms | 4399.9% | 1.6GiB |
| Efficiency | Latency-10K | 1,024 | 9,983 | 113.6us | 116.0us | 113.0% | 239MiB |
| Efficiency | Latency-1M | 1,024 | 997,570 | 655.6us | 4426.0us | 3710.0% | 307MiB |
| Efficiency | Latency-500K/8 | 1,024 | 286,414 | 4228705.3us | 8409088.0us | 742.8% | 284MiB |
| Workload | JSON Comp | 4,096 | 412,558 | 6.67ms | 22.20ms | 5877.1% | 566MiB |
| Workload | JSON Comp | 16,384 | 394,027 | 12.40ms | 38.60ms | 5897.5% | 742MiB |
| Workload | JSON TLS | 4,096 | 543,078 | 7.68ms | 78.52ms | 6080.5% | 983MiB |
| Workload | 8Gbit | 512 | 49,287 | 254.1us | 4190.0us | 891.0% | 311MiB |
| Database | Async DB | 1,024 | 182,716 | 5.05ms | 13.40ms | 3313.2% | 447MiB |
| HTTP/2 | Baseline | 256 | 2,061,742 | 12.16ms | 81.99ms | 6206.5% | 1.2GiB |
| HTTP/2 | Baseline | 1,024 | 1,886,154 | 53.61ms | 199.09ms | 5950.8% | 2.7GiB |
| HTTP/2 | Static | 256 | 251,918 | 32.45ms | 497.92ms | 6022.0% | 1.6GiB |
| HTTP/2 | Static | 1,024 | 267,558 | 116.99ms | 888.33ms | 5920.1% | 2.8GiB |
| HTTP/3 | Baseline | 64 | 611,654 | 6.06ms | 15.65ms | 6183.2% | 2.2GiB |
| HTTP/3 | Static | 64 | 153,427 | 28.20ms | 139.82ms | 5973.4% | 2.2GiB |
| WebSocket | Echo | 512 | 1,784,184 | 286us | 1.55ms | 5725.1% | 256MiB |
| WebSocket | Echo | 4,096 | 1,731,297 | 1.85ms | 5.37ms | 5967.3% | 538MiB |
| WebSocket | Echo | 16,384 | 1,746,347 | 1.94ms | 5.37ms | 5851.9% | 809MiB |
| WebSocket | Echo Pipelined | 512 | 22,587,638 | 362us | 2.28ms | 5328.1% | 282MiB |
| WebSocket | Echo Pipelined | 4,096 | 22,652,630 | 1.37ms | 4.90ms | 5703.7% | 617MiB |
| WebSocket | Echo Pipelined | 16,384 | 21,527,292 | 2.71ms | 9.06ms | 5650.3% | 624MiB |
| WebSocket | Echo Short-lived | 512 | 450,481 | 72us | 378us | 2864.7% | 253MiB |
| WebSocket | Echo Short-lived | 4,096 | 436,940 | 75us | 388us | 2895.6% | 257MiB |
Compared with
The C# web frameworks around genhttp-kestrel 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 genhttp-kestrel | |
|---|---|---|---|
| genhttp-ioxide | 7075 | +134% | head to head |
| simplew | 3889 | +29% | head to head |
| carter | 3121 | +3% | head to head |
| aspnet-minimal-11 | 2916 | -4% | head to head |
| aspnet-minimal | 2872 | -5% | head to head |
Compare genhttp-kestrel with any C# entry · Compare genhttp-kestrel with any entry, in any language · Every C# entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry