User Profile & Activity

Shawn August Member
Page
of 19

Also,  the provided project has the WebGrid's AutoFitColumn's property set to true. As I said in the original post, this is the setting that doesn't show the bug.  In the modified version above, this property is set to false causing the page's load time to exceed nearly 25 seconds but only 5-6 seconds when set to  true.

I am still not sure how the WebGrid is related but there is definately a performance issue there.

Here is my simple project that will show you that i don't have any slow performance like i said before. The page loads within 10 s.
In fact, I used your WebGrid settings and WebPaneManager settings in here.
Our developer teams also said we would need to replicate this issue first before can give more analysis.
 
So, could you test my simple project on your environment and let me know if the issue also occurs or not.
You can also help us by modifying the issue into my simple project (runable) and send it back to me. 
Handy

 

 

Here are the results:

Before modifying, this page renders over 2000 records in 5 seconds.

After modifying, this page renders over 2000 records in nearly 25 seconds.

Here are the modifications:

Added a WebPaneManger control and 3 panes for a WebMenuBar, WebToolBar, and WebNavPane control.  For simplicity, I added only the WebMenuBar as it appears to be causing the problem.

Added code to dynamically add one parent and 3 children items to the WebMenuBar

 

Also, I am not sure if it is related but when the WebMenuBar’s IntegratedTo property is changed from None to DesktopManager or PlaceHolderManager, the page load changes from nearly 1 minute to about 6 seconds.  This is interesting because your example has this set to "None" and the page renderes within 5 seconds. Unfortunately, the items within the WebMenuBar do not render properly when not set to “None”. 

 

Please note that this is critical for our company as we have a release tomorrow and need to determine the best course of action.  If there is anything else I can do, please let me know. I am hoping this working example will help you diagnose the problem.

 

I am doing more analysis.  I removed some of the WebPaneManager from the page's MasterPage and there is a dramatic performance increase.

 

Let's direct attention to the WebPaneManager. How would this be connected to the WebGrid's AutoFitColumns? Was there any changes to the WebPaneManager for 2009?

Also, please send me an ASPX page instead of markup so I can see what the changes were. I will make the changes in my application and compare the load times.

I opened your sample and modified my sample with using WebPane manager  and WebGrid settings you had. Unfortunately, it runs well in here. I sent you my modified sample. Maybe some styles affected the performance.

Regards,
Handy


This shouldn't be caused by CSS unless there are some major problems.


I did more analysis and found major performance issues that are related to the WebPaneManager control and the WebGrid control's AutoColumnFit property. Returning the application to the previous 2008 R2 version brought back the performance to an acceptable measure.

Please review the data below that clearly shows a major performance problems that trend from page to page. One page goes from 1 minute to 15 seconds just by changing that AutoColumnFit property. That should be a major major concern.

Page

Notes

Page Load

EDMStatistics

Current; AutoColumnFit = false

~22-30 seconds

EDMStatistics

AutoColumnFit=true

~6-8 seconds

EDMStatistics

AutoColumnFit=false; Removed Intersoft PaneManager

~6-8 seconds

 

 

 

ProgramWorkQueue

Current; ~50 records; AutoColumnFit = false

~16.5 minutes

ProgramWorkQueue

~50 records; AutoColumnFit=true

~6 seconds

ProgramWorkQueue

Current; ~1050 records; AutoColumnFit = false

~50 seconds - 1:04 minutes

ProgramWorkQueue

~1050 records; AutoColumnFit=true

~13.5 seconds

 

 

 

MasterShell

Current; AutoColumnFit = false

~15-17.5 seconds

MasterShell

AutoColumnFit = true

~8.5-10 seconds

1) Was there any changes to the WebPaneManager control and the WebGrid control's AutoColumnFit property from 2008 R2 to the 2009 R1 SP1 version that could have caused this?

2) Did you try running the page I provided you? If so, what was the load time? Did you notice a similiar difference in performance if you remove the WebPaneManager control and change the WebGrid control's AutoColumnFit property to "true"?

3) In your test with the NorthWind database with over 2000 records, how long does the page take to render with the WebGrid control's AutoColumnFit property set to true and false?

4) What version of WebDesktop and WebGrid are you using?

4) Has anyone else mentioned any performance issues with the 2009 R1 SP1 release?

 

Posted: October 22, 2009 9:25 AM

Is this the only option? It seems like there would be a chance where 500ms isn't enough and the logic would fail.

 

Is there some sort of property/event that can be handled to determine when the WebTreeView is done with its initialization and the correct data would be returned?

I performed more analysis and found some dramatic performance issues. If you remove the WebPaneManager on the page, the load time changes from 30 seconds to 6 seconds.

I am not sure if these issues are related but I am very concerned. Please advise on what is going on.

Posted: October 21, 2009 10:03 AM
Using the provided sample, Client_FundamentalAPI.aspx, in the WebTreeView sample. The GetArrayNodes return the correct information of the node in the tree view.

Did this issue also occurs in the provided sample?

 

I've modified the Client_FundamentalAPI.aspx file with a very simple example that shows the bugs with the above mentioned methods.

I tested out with Invoices table on Northwind database which has 2188 records (4 times larger than you used). While my setting also used AutoFitColumns, the page never loaded until 1 minute or over. So, perhaps there still some settings on your WebGrid structure. Could you send a simple sample (runable) that replicates the issue (use northwind database)? Or at least, you can share about your WebGrid settings.

Regards,
Handy

 

I don't quite understand your results. Are you saying it took 1 minute or more?

Also, the bug is when the AutoFitColumns is not used (AutoFitColumns="false"). 


I checked the 2009 R1 SP1 release notes and didn't notice any reference to AutoFitColumns but something must have changed.


I've uploaded one of the slow pages that takes 10 seconds to load when AutoFitColumns=true and 30 seconds to load when AutoFitColumns=false for you to reference.

In the previous version (2008 R2), the page loaded approximately the same time.

 

In 2009 R1 SP1, a grid with the AutoFitColumn set to false (or not set at all as it's defaulted to false) has a tremendous impact on the load time of the page.  For example, as discussed above, one of the pages goes from a 10 second load time to 30 seconds.  In another page with a WebGrid that contains 500 rows, the load time goes from 14 seconds to over 1 minute making the page unusable.

What was changed?

All times are GMT -5. The time now is 12:51 PM.
Previous Next