I am profiling my MVC app and the speed from the Performance Explorer is around 500 ms (50 ms code, 450ms SQL roundtrips that won't exist in deployment).
However, the time taken waiting on a response to a GET request is around 1200ms.
I've managed to discover through trial and error that this is due to a particularly slow partial view.
However, is there any way for me to discover this through profiling in the future?
If it helps I am using precompiled Spark views but a s开发者_开发百科olution that works for this or the default view engine would be appreciated.
Thanks
Use a profiler. What stops you from just attaching a profiler for ASP.NET and look where the time is spent?
精彩评论