Thanks for your efforts. To improve asp.net core results, you can do followings:
1- Change Platform from its default value (AnyCPU) to (X64)
2- Use following code for Program.cs
using Microsoft.AspNetCore.Hosting;
using System.IO;namespace AspNetCorePerformanceTests
{
public class Program
{
public static void Main(string[] args)
{
IWebHost host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseStartup<Startup>()
.Build();host.Run();
}
}
}
3- In launchSettings.json change environments from Development to Production
Performance gets better, due removing loggers, improving CPU processing, switching from dev to production.