codebehind
Flagship · C# · engine: kestrel · standard configuration · completeness 4/4
CodeBehind 4.8.2 on ASP.NET Core and Kestrel. Routes via CodeBehind controller classes under wwwroot/*/Default.aspx, JSON through System.Text.Json with web defaults, gzip and brotli through ResponseCompression at level 1, json-tls on 8081, static files on 8081, dataset loaded once at startup.
Achievements
🥇 1 Gold. 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 87 |
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 | 43 of 87 | 1895 |
Every result
Alpha Round, 11 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,147,372 | 3.57ms | 9.50ms | 5664.9% | 426MiB |
| Connection | Pipelined | 4,096 | 5,734,755 | 11.43ms | 43.30ms | 5969.5% | 459MiB |
| Connection | Short-lived | 4,096 | 451,455 | 2.78ms | 12.20ms | 3291.9% | 186MiB |
| Concurrency | Async Delay | 32,000 | 927,008 | 34.46ms | 64.10ms | 4777.0% | 1.7GiB |
| Efficiency | Latency-10K | 1,024 | 9,983 | 134.6us | 1919.0us | 122.2% | 157MiB |
| Efficiency | Latency-1M | 1,024 | 997,330 | 858.5us | 5406.0us | 3926.7% | 234MiB |
| Workload | JSON Comp | 4,096 | 298,904 | 13.93ms | 34.20ms | 5854.1% | 629MiB |
| Workload | JSON Comp | 16,384 | 299,474 | 25.81ms | 50.40ms | 5879.3% | 744MiB |
| Workload | JSON TLS | 4,096 | 432,839 | 9.66ms | 144.69ms | 6142.6% | 770MiB |
| Workload | 8Gbit | 512 | 49,397 | 203.6us | 1617.0us | 963.3% | 282MiB |
| Workload | Static TLS | 1,024 | 101,784 | 10.35ms | 95.34ms | 6090.2% | 409MiB |
Compared with
The C# web frameworks around codebehind 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 codebehind | |
|---|---|---|---|
| genhttp-ioxide | 5950 | +214% | head to head |
| genhttp-kestrel | 2150 | +13% | head to head |
| fastendpoints | 1904 | +0% | head to head |
| sisk | 1280 | -32% | head to head |
| watson | 442 | -77% | head to head |
Compare codebehind with any C# entry · Compare codebehind with any entry, in any language · Every C# entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry