genhttp
Emerging · C# · 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
🥈 2 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 |
|---|---|---|---|
| 🥈 Silver | Within its language | C# · HTTP/1.1 | 2 of 11 |
| 🥈 Silver | Within its language | C# · WebSocket | 2 of 6 |
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 | 15 of 84 | 4538 |
| WebSocket | 12 of 29 | 1611 |
Every result
Alpha Round, 21 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,967,052 | 1.93ms | 5.88ms | 5554.4% | 495MiB |
| Connection | Pipelined | 4,096 | 18,341,651 | 3.58ms | 6.79ms | 6433.6% | 269MiB |
| Connection | Short-lived | 4,096 | 1,250,477 | 1.80ms | 17.70ms | 5317.6% | 391MiB |
| Concurrency | Async Delay | 32,000 | 942,195 | 29.42ms | 51.10ms | 3959.3% | 2.6GiB |
| Efficiency | Latency-10K | 1,024 | 9,982 | 72.7us | 102.0us | 87.0% | 156MiB |
| Efficiency | Latency-1M | 1,024 | 997,830 | 296.6us | 2325.0us | 2613.8% | 172MiB |
| Efficiency | Latency-500K/8 | 1,024 | 342,457 | 3142145.1us | 6203392.0us | 743.5% | 174MiB |
| Workload | JSON Comp | 4,096 | 471,025 | 8.01ms | 19.40ms | 6172.1% | 727MiB |
| Workload | JSON Comp | 16,384 | 452,182 | 30.65ms | 77.60ms | 5939.4% | 1.5GiB |
| Workload | JSON TLS | 4,096 | 713,974 | 5.79ms | 80.64ms | 5979.7% | 989MiB |
| Workload | 8Gbit | 512 | 49,402 | 95.5us | 125.0us | 401.6% | 271MiB |
| Workload | Static TLS | 1,024 | 390,724 | 2.74ms | 39.11ms | 5631.8% | 391MiB |
| Database | Async DB | 1,024 | 200,237 | 4.57ms | 11.20ms | 2882.0% | 421MiB |
| WebSocket | Echo | 512 | 2,483,481 | 205us | 1.12ms | 5542.5% | 224MiB |
| WebSocket | Echo | 4,096 | 2,363,034 | 1.71ms | 4.75ms | 5496.0% | 618MiB |
| WebSocket | Echo | 16,384 | 2,245,376 | 4.32ms | 10.70ms | 5804.7% | 1.4GiB |
| WebSocket | Echo Pipelined | 512 | 30,309,814 | 269us | 1.75ms | 5584.5% | 266MiB |
| WebSocket | Echo Pipelined | 4,096 | 28,221,993 | 2.16ms | 6.83ms | 5535.0% | 603MiB |
| WebSocket | Echo Pipelined | 16,384 | 28,006,781 | 6.94ms | 16.50ms | 5740.9% | 1.6GiB |
| WebSocket | Echo Short-lived | 512 | 1,159,350 | 151us | 987us | 4961.4% | 296MiB |
| WebSocket | Echo Short-lived | 4,096 | 1,187,020 | 203us | 1.49ms | 5386.2% | 440MiB |
Compared with
The C# entries around genhttp on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs genhttp | |
|---|---|---|---|
| genhttp-ioxide | 7116 | +57% | head to head |
| ioxide | 5670 | +25% | head to head |
| simplew-tuned | 5611 | +24% | head to head |
| sockets | 4039 | -11% | head to head |
| simplew | 3983 | -12% | head to head |
Compare genhttp with any C# entry · Compare genhttp with any entry, in any language · Every C# entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry