Explore by language

csharp web framework benchmarks

Benchmark results for 8 csharp web frameworks, measured with zrk at concurrency 64, 256, 512. Fastest at concurrency 64: aspnet-minimal-api with 166 518 requests per second.

Compare throughput and latency together. These measurements describe a specific workload and test environment; performance in your application may differ.

Concurrency 64

csharp frameworks at concurrency 64, ranked on requests per second.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 aspnet-minimal-api 10 166 518 0.37 ms 0.85 ms 0
2 carter 10 166 262 0.37 ms 0.85 ms 0
3 codebehind 4.8 139 431 0.42 ms 1.26 ms 0
4 fastendpoints 7.1 135 409 0.44 ms 1.21 ms 0
5 aspnet-mvc 10 114 011 0.53 ms 1.46 ms 0
6 effinitive-framework 1.2 107 160 0.61 ms 1.52 ms 0
7 genhttp 10.5 101 527 0.64 ms 1.59 ms 0
8 simplify.web 5.7 56 881 1.06 ms 2.39 ms 0

Concurrency 256

csharp frameworks at concurrency 256, ranked on requests per second.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 aspnet-minimal-api 10 147 805 1.71 ms 4.91 ms 0
2 carter 10 146 862 1.72 ms 4.42 ms 0
3 codebehind 4.8 127 252 1.91 ms 5.04 ms 0
4 fastendpoints 7.1 125 525 1.93 ms 5.02 ms 0
5 aspnet-mvc 10 108 498 2.29 ms 5.43 ms 0
6 effinitive-framework 1.2 103 343 2.55 ms 4.36 ms 0
7 genhttp 10.5 95 798 2.82 ms 5.26 ms 0
8 simplify.web 5.7 57 221 4.41 ms 6.97 ms 0

Concurrency 512

csharp frameworks at concurrency 512, ranked on requests per second.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 aspnet-minimal-api 10 143 096 3.55 ms 7.48 ms 0
2 carter 10 141 774 3.58 ms 7.14 ms 0
3 codebehind 4.8 126 435 3.89 ms 7.76 ms 0
4 fastendpoints 7.1 123 542 3.97 ms 7.89 ms 0
5 aspnet-mvc 10 107 883 4.66 ms 8.64 ms 0
6 effinitive-framework 1.2 103 860 3.80 ms 6.46 ms 0
7 genhttp 10.5 98 406 5.26 ms 11.04 ms 0
8 simplify.web 5.7 56 785 8.98 ms 13.52 ms 0