I am using MVC3, ASP.NET4.5, EF5, C#, Razor, SQL Server 2008 R2.
I am analysing an Action which does some DML via LINQ and EF. No real issues, takes about 1 second. I am using Glimpse to monitor the application. However I notice that Server time is 3 seconds, and the controller Action time is 1 second, so 2 seconds are going missing. It is as if it is taking 2 seconds to instantiate the Controller class etc. The application is warmed up.
Here are the screenshots:
and here:
So summary of metrics is roughly:
Total 4 sec Client 1 sec Server 3 sec PreAction something ???? 2 sec Action 1 sec
This happens with the dev web server as well as on Win7/IIS with Precompiled code.
Thanks in advance.
It might be a Glimpse drawback. Try to run application with and without it and see if there is any difference.