aspnet-minimal
Flagship · C# · engine: kestrel · standard configuration · completeness 4/4
Minimal ASP.NET Core server using .NET 10 with Kestrel and minimal API routing.
Achievements
🥈 4 Silver · 🥉 2 Bronze. 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 |
|---|---|---|---|
| 🥈 Silver | Family composite | Composite · gRPC | 2 of 4 |
| 🥈 Silver | Within its language | C# · WebSocket | 2 of 3 |
| 🥈 Silver | Test profile | gRPC · Unary | 2 of 4 |
| 🥈 Silver | Test profile | gRPC · Unary TLS | 2 of 4 |
| 🥉 Bronze | Within its language | C# · HTTP/1.1 | 3 of 6 |
| 🥉 Bronze | Test profile | HTTP/3 · Baseline | 3 of 7 |
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 |
|---|---|---|
| HTTP/1.1 | 22 of 71 | 3227 |
| HTTP/2 | 6 of 18 | 989 |
| HTTP/3 | 5 of 7 | 598 |
| gRPC | 2 of 4 | 1166 |
| WebSocket | 6 of 15 | 890 |
Every result
Alpha Round, 35 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,279,817 | 2.75ms | 8.65ms | 5503.3% | 352MiB |
| Connection | Pipelined | 4,096 | 7,049,780 | 7.87ms | 20.90ms | 5633.6% | 346MiB |
| Connection | Short-lived | 4,096 | 461,367 | 1.44ms | 12.30ms | 3388.6% | 153MiB |
| Concurrency | Async Delay | 32,000 | 898,863 | 28.21ms | 56.80ms | 4649.8% | 1.8GiB |
| Efficiency | Latency-10K | 1,024 | 9,982 | 110.2us | 129.0us | 141.0% | 247MiB |
| Efficiency | Latency-1M | 1,024 | 997,727 | 524.9us | 4378.0us | 4329.7% | 261MiB |
| Efficiency | Latency-500K/8 | 1,024 | 295,780 | 4042092.4us | 8038400.0us | 736.1% | 230MiB |
| Workload | JSON Comp | 4,096 | 335,330 | 9.61ms | 37.60ms | 5909.3% | 581MiB |
| Workload | JSON Comp | 16,384 | 335,277 | 20.36ms | 61.70ms | 6094.4% | 661MiB |
| Workload | JSON TLS | 4,096 | 505,617 | 8.32ms | 104.21ms | 6048.0% | 805MiB |
| Workload | 8Gbit | 512 | 49,316 | 201.5us | 1995.0us | 877.1% | 319MiB |
| Workload | Static TLS | 1,024 | 243,329 | 4.36ms | 35.58ms | 5212.8% | 462MiB |
| Database | Async DB | 1,024 | 163,310 | 5.66ms | 18.60ms | 3625.6% | 414MiB |
| Database | Fortunes | 1,024 | 75,539 | 11.36ms | 33.60ms | 5496.7% | 460MiB |
| HTTP/2 | Baseline | 256 | 2,202,291 | 11.49ms | 78.02ms | 6088.2% | 1.0GiB |
| HTTP/2 | Baseline | 1,024 | 2,083,365 | 50.72ms | 319.41ms | 5883.1% | 3.8GiB |
| HTTP/2 | Static | 256 | 184,837 | 43.65ms | 245.59ms | 5889.5% | 933MiB |
| HTTP/2 | Static | 1,024 | 123,587 | 252.14ms | 1.32s | 5845.2% | 2.9GiB |
| HTTP/2 | Baseline (h2c) | 256 | 2,684,246 | 9.75ms | 60.80ms | 6240.9% | 1.0GiB |
| HTTP/2 | Baseline (h2c) | 1,024 | 2,454,077 | 43.84ms | 310.39ms | 5967.7% | 4.5GiB |
| HTTP/2 | Baseline (h2c) | 4,096 | 1,280,412 | 178.40ms | 884.79ms | 5313.2% | 7.8GiB |
| HTTP/2 | JSON (h2c) | 1,024 | 690,439 | 47.73ms | 282.09ms | 6158.8% | 1.5GiB |
| HTTP/2 | JSON (h2c) | 4,096 | 595,760 | 164.52ms | 1.47s | 5930.0% | 5.2GiB |
| HTTP/3 | Baseline | 64 | 626,288 | 5.87ms | 22.32ms | 6087.5% | 1.2GiB |
| HTTP/3 | Static | 64 | 120,521 | 33.88ms | 154.00ms | 4867.5% | 1.9GiB |
| gRPC | Unary | 256 | 2,491,232 | 10.56ms | 10.56ms | 5624.0% | 1007.0MiB |
| gRPC | Unary | 1,024 | 2,338,525 | 41.35ms | 41.35ms | 6207.7% | 2.5GiB |
| gRPC | Unary TLS | 256 | 2,058,161 | 12.19ms | 12.19ms | 6079.8% | 818.2MiB |
| gRPC | Unary TLS | 1,024 | 1,826,316 | 56.98ms | 56.98ms | 5281.5% | 2.8GiB |
| WebSocket | Echo | 512 | 1,835,273 | 278us | 696us | 6128.2% | 220.4MiB |
| WebSocket | Echo | 4,096 | 1,806,996 | 1.72ms | 5.25ms | 6120.1% | 389.2MiB |
| WebSocket | Echo | 16,384 | 1,686,022 | 3.63ms | 10.10ms | 6033.9% | 456.1MiB |
| WebSocket | Echo Pipelined | 512 | 19,748,819 | 414us | 2.08ms | 5700.1% | 225MiB |
| WebSocket | Echo Pipelined | 4,096 | 19,744,758 | 1.92ms | 7.12ms | 5656.8% | 380MiB |
| WebSocket | Echo Pipelined | 16,384 | 19,407,960 | 2.94ms | 9.60ms | 5864.6% | 380MiB |
Compared with
The C# entries around aspnet-minimal on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs aspnet-minimal | |
|---|---|---|---|
| genhttp-ioxide | 7074 | +119% | head to head |
| effinitive | 3601 | +12% | head to head |
| carter | 3496 | +8% | head to head |
| fastendpoints | 3098 | -4% | head to head |
| kestrel | 2583 | -20% | head to head |
Compare aspnet-minimal with any C# entry · Compare aspnet-minimal with any entry, in any language · Every C# entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry