At first apologies I cannot be more specific, as if I could then I could know where to look. I have an ASP.net web application with a bunch of pages using AjaxControlToolKit. Page rendering speed is very different between the two environments. On one of them, it takes super slowly ~5 secondsto display a relatively simple page with two grids and many controls. Everywhere I look at articles they say βcheck your SQLβ, but this cannot be so, since SQL perf should be common in all environments. I also narrowed it down to where the page just does the basic post, without sql, and still the problem is reproducing. The user clicks the "Select All" button, and we check a bunch of items in the list. I ran the code for this and quickly 00:00:00.0002178.
Two environments sit side by side, the same place, both have IE9, except that one runs on W2K8 and the other on W7. This is the only real difference. On W7, pages are rendered relatively quickly.
Any pointers really appreciated.
EDIT:
Changing debugging to false had a positive effect.
Page debug time True 0.143363802770544 Invalid 0.0377570798614921
So, what will I do next, systematically look at each component of the application to understand why I am making mistakes, SQL, ViewState, etc. I am updating the message with my final findings for those interested.
Thank you all for your help!
source
share