I'm using Glimpse to get an insight into my ASP MVC website's behaviour. I can see that view rendering seems to take the longest. My controller action takes about 122ms and does 70ms of database queries, but the code is a little complex so I can understand some time taken to complete the full action. Other, simpler controllers have action time slightly higher than time taken to perform DB calls.
However, view rendering seems to take quite a long time. For example, Glimpse reports 40ms to render the action. However, looking at the website through another browser with Glimpse disabled, I see about ~100ms rendering times using the network inspector developer panels. Is there a good way to profile view rendering so I can look for improvement? This seems to be an issue across the whole site.
Also, I'm not sure if the time shown for view rendering increases because of Glimpse itself. When checking page load speeds with it on and off it seems to add 200-300ms onto load time.
Timeline of slow views:
Execution tab:
The simpler controller - notice low action times but high view.