HttpArena
Frameworks

genhttp

Emerging · C# · standard configuration · completeness 4/4

Lightweight, embeddable and modular C# web server.

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.

MedalAwardFieldRank
🥈 SilverWithin its languageC# · HTTP/1.12 of 11
🥈 SilverWithin its languageC# · WebSocket2 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.

FamilyRankComposite
HTTP/1.115 of 844538
WebSocket12 of 291611

Every result

Alpha Round, 21 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0961,967,0521.93ms5.88ms5554.4%495MiB
ConnectionPipelined4,09618,341,6513.58ms6.79ms6433.6%269MiB
ConnectionShort-lived4,0961,250,4771.80ms17.70ms5317.6%391MiB
ConcurrencyAsync Delay32,000942,19529.42ms51.10ms3959.3%2.6GiB
EfficiencyLatency-10K1,0249,98272.7us102.0us87.0%156MiB
EfficiencyLatency-1M1,024997,830296.6us2325.0us2613.8%172MiB
EfficiencyLatency-500K/81,024342,4573142145.1us6203392.0us743.5%174MiB
WorkloadJSON Comp4,096471,0258.01ms19.40ms6172.1%727MiB
WorkloadJSON Comp16,384452,18230.65ms77.60ms5939.4%1.5GiB
WorkloadJSON TLS4,096713,9745.79ms80.64ms5979.7%989MiB
Workload8Gbit51249,40295.5us125.0us401.6%271MiB
WorkloadStatic TLS1,024390,7242.74ms39.11ms5631.8%391MiB
DatabaseAsync DB1,024200,2374.57ms11.20ms2882.0%421MiB
WebSocketEcho5122,483,481205us1.12ms5542.5%224MiB
WebSocketEcho4,0962,363,0341.71ms4.75ms5496.0%618MiB
WebSocketEcho16,3842,245,3764.32ms10.70ms5804.7%1.4GiB
WebSocketEcho Pipelined51230,309,814269us1.75ms5584.5%266MiB
WebSocketEcho Pipelined4,09628,221,9932.16ms6.83ms5535.0%603MiB
WebSocketEcho Pipelined16,38428,006,7816.94ms16.50ms5740.9%1.6GiB
WebSocketEcho Short-lived5121,159,350151us987us4961.4%296MiB
WebSocketEcho Short-lived4,0961,187,020203us1.49ms5386.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.

EntryCompositevs genhttp
genhttp-ioxide7116+57%head to head
ioxide5670+25%head to head
simplew-tuned5611+24%head to head
sockets4039-11%head to head
simplew3983-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