Hi all.
I'm trying to locate a problem in a web app that, under certain circumstances (such as when accessing the app when logged in) is causing very slow execution times. I went ahead and placed timers for the main page events for each of the controls that load during a prticular request. I have found that the delay is happening just before Page_PreRender(). Here are two examples of the timings that locate the problem area within the request:
ProductList.ascx Page_Load() End: 17/03/2005 13:29:34:921 ***
ShopFront.aspx Page_PreRender() Start: 17/03/2005 13:29:47:498 ***
ProductsMain.ascx pageLoad() End: 17/03/2005 13:16:08:107 ***
ShopFront.aspx Page_PreRender() Start: 17/03/2005 13:16:21:294 ***
Now, as far as I am aware, the only two calls that could be made between the Control's Page_Load event and the Page's Page_PreRender events are Page_EnsureChildControls and Page_CreateChildControls. Any idea as to how I can find out what could be causing a problem here? This is driving me nuts!
Thank you.
Stephen.
I'm trying to locate a problem in a web app that, under certain circumstances (such as when accessing the app when logged in) is causing very slow execution times. I went ahead and placed timers for the main page events for each of the controls that load during a prticular request. I have found that the delay is happening just before Page_PreRender(). Here are two examples of the timings that locate the problem area within the request:
ProductList.ascx Page_Load() End: 17/03/2005 13:29:34:921 ***
ShopFront.aspx Page_PreRender() Start: 17/03/2005 13:29:47:498 ***
ProductsMain.ascx pageLoad() End: 17/03/2005 13:16:08:107 ***
ShopFront.aspx Page_PreRender() Start: 17/03/2005 13:16:21:294 ***
Now, as far as I am aware, the only two calls that could be made between the Control's Page_Load event and the Page's Page_PreRender events are Page_EnsureChildControls and Page_CreateChildControls. Any idea as to how I can find out what could be causing a problem here? This is driving me nuts!
Thank you.
Stephen.