Skip to content

Performance

This project has the following performance tests in the git repo :

BenchmarkDotnet

Below are the results from running the BenchmarkDotnet benchmarks.

BenchmarkDotNet=v0.13.1, OS=macOS Monterey 12.2 (21D49) [Darwin 21.3.0]
Intel Core i9-9900K CPU 3.60GHz (Coffee Lake), 1 CPU, 16 logical and 8 physical cores
.NET SDK=6.0.101
  [Host]     : .NET 6.0.1 (6.0.121.56705), X64 RyuJIT
  Job-RBPMQG : .NET 6.0.1 (6.0.121.56705), X64 RyuJIT

InvocationCount=20000  IterationCount=20  LaunchCount=1  
WarmupCount=5  
Method Mean Error StdDev Ratio Gen 0 Gen 1 Allocated
WebApiEndpoints 55.62 μs 0.244 μs 0.281 μs 1.00 2.3500 0.0500 19 KB
MvcControllers 73.24 μs 0.358 μs 0.398 μs 1.32 2.5000 0.0500 21 KB
MinimalApis 48.62 μs 0.253 μs 0.282 μs 0.87 2.0000 0.0500 16 KB