HttpArena

genhttp-kestrel

Emerging · C# · engine: kestrel · standard configuration · completeness 4/4

Lightweight, embeddable and modular C# web server.

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.

MedalAwardFieldRank
🥇 GoldTest profileEfficiency · Latency-10K1 of 87
🥈 SilverWithin its languageC# · HTTP/32 of 4

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.

FamilyRankComposite
HTTP/1.137 of 872150
HTTP/222 of 33438
HTTP/38 of 16366
WebSocket19 of 31926
Database11 of 17509

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0961,371,5122.99ms7.78ms5990.6%567MiB
ConnectionPipelined4,0963,531,99118.42ms682.30ms6013.0%485MiB
ConnectionShort-lived4,096475,1181.91ms11.60ms2885.0%238MiB
ConcurrencyAsync Delay32,000929,80833.29ms64.10ms4740.0%1.8GiB
EfficiencyLatency-10K1,0249,98397.4us117.0us114.4%241MiB
EfficiencyLatency-1M1,024997,905559.5us4202.0us3982.8%327MiB
WorkloadJSON Comp4,096404,5909.36ms28.30ms5884.9%644MiB
WorkloadJSON Comp16,384405,48414.81ms34.60ms6183.0%758MiB
WorkloadJSON TLS4,096541,8737.62ms125.75ms6182.1%889MiB
Workload8Gbit51249,334238.2us3703.0us622.0%313MiB
DatabaseAsync DB1,024180,4175.67ms14.60ms2749.9%404MiB
HTTP/2Baseline2562,201,18111.30ms37.87ms6237.4%1.2GiB
HTTP/2Baseline1,0242,104,12049.40ms184.36ms6033.1%3.0GiB
HTTP/2Static256253,86532.15ms270.03ms6097.4%1.4GiB
HTTP/2Static1,024262,671118.61ms569.08ms5773.1%3.1GiB
HTTP/3Baseline64600,2306.41ms18.38ms6152.5%2.2GiB
HTTP/3Static64154,91526.40ms106.34ms6045.0%2.2GiB
WebSocketEcho5121,763,387289us1.35ms5665.7%274MiB
WebSocketEcho4,0961,719,8242.38ms5.82ms5956.3%596MiB
WebSocketEcho16,3841,666,3614.21ms10.20ms6231.8%697MiB
WebSocketEcho Pipelined51222,476,166363us2.33ms5448.2%285MiB
WebSocketEcho Pipelined4,09622,009,3312.98ms9.08ms5996.5%633MiB
WebSocketEcho Pipelined16,38421,280,4125.65ms14.00ms6095.3%711MiB
WebSocketEcho Short-lived512450,17171us394us2833.8%244MiB
WebSocketEcho Short-lived4,096460,42079us520us2929.2%263MiB

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.

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