diff --git a/_benchmarks/README.md b/_benchmarks/README.md index 8811189e..fcea4394 100644 --- a/_benchmarks/README.md +++ b/_benchmarks/README.md @@ -15,7 +15,10 @@ ### .NET Core MVC ```bash $ cd netcore-mvc -$ dotnet run +# Same as dotnet run -c Release +# because of the code and configuration, +# scroll to the bottom for more. +$ dotnet run Hosting environment: Production Content root path: C:\mygopath\src\github.com\kataras\iris\_benchmarks\netcore-mvc Now listening on: http://localhost:5000 @@ -95,4 +98,13 @@ Click [here](screens) to navigate to the screenshots. Iris MVC Application, written using 27 lines of code, ran for **47 seconds** serving **105643.71** requests per second within **1.18ms** latency in average and **22.01ms** max, the memory usage of all these was ~12MB. -Iris Application, written using 22 lines of code, ran for **45 seconds** serving **110809.98** requests per second within **1.13ms** latency in average and **18.02ms** max, the memory usage of all these was ~11MB. \ No newline at end of file +Iris Application, written using 22 lines of code, ran for **45 seconds** serving **110809.98** requests per second within **1.13ms** latency in average and **18.02ms** max, the memory usage of all these was ~11MB. + +#### Notes for .NET Developers + +Don't try to tell "you're running from `dotnet run` and don't `dotnet run -c Release`", see the output first: `Hosting environment: Production`. It doesn't matter if you run `dotnet run` without arguments: if the configuration file says production or you don't use `if debug then do that`, then it runs as production. + +Want to put some of your benchmarks here? Go ahead and share your results with the rest of us: + +- https://dev.to/kataras/go-vsnet-core-in-terms-of-http-performance +- https://medium.com/@kataras/go-vs-net-core-in-terms-of-http-performance-7535a61b67b8 \ No newline at end of file