Benchmarks
Head-To-Head Benchmark
Bombardier Load Test (best out of 5 runs)
hardware: AMD Ryzen 7 3700X (8c/16t), 16GB RAM, Windows 11
parameters: -c 512 -m POST -f "body.json" -H "Content-Type:application/json" -d 30s
ASP NET Minimal API (~1k more requests per second than fastendpoints)
Statistics Avg Stdev Max
Reqs/sec 133862.82 13910.17 176864.72
Latency 3.76ms 1.42ms 397.78ms
HTTP codes:
1xx - 0, 2xx - 4072279, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 68.10MB/s
FastEndpoints (~35k more requests per second than mvc controller)
Statistics Avg Stdev Max
Reqs/sec 132920.30 13080.95 292207.79
Latency 3.80ms 2.43ms 636.79ms
HTTP codes:
1xx - 0, 2xx - 4033570, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 67.43MB/s
ASP NET MVC Controller
Statistics Avg Stdev Max
Reqs/sec 97704.36 11639.55 137931.03
Latency 5.18ms 2.46ms 571.64ms
HTTP codes:
1xx - 0, 2xx - 2962086, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 49.53MB/s