I have an winform-application and i use the methode "Infragistics.Win.UltraWinGrid.UltraGridLayout.Load({system.io.stream},{Infragistics.Win.UltraWinGrid.PropertyCategories.All})" (UltraWinGrid Version 10.3.20103.2063). Since i have updated from .Net3.5 to .Net4.0 the "load" needs a lot of more time. Do you have any idea?
Hi,
now i have the solution.
The gridlayouts (saved on .Net 3.5) are very slow when i load this on .Net 4.0. But when i save this layouts on .Net 4.0 and load it again, the speed is ok.
hi,
ok, i will make a small sample. But at the moment i have a lot to do in a other project, therefore i send you the sample within the next few days.
thanks.
If you can provide a small sample project which demonstrates the issue, we can certainly do some performance profiling and see if there is anything we can do here.
But the profiles you have attached here clearly show that almost every is taking more time in CLR4. So this is probably a framework issue which we have no control over.
tahnks for your answer. I'm not sure if i understand you. But what kind of profile informationen do you need? I can't profile the Infragistics assemblies and also i can't profile the .net assemblies. But you can profile the Infragistics assemblies to analyze why the Load methode is slower and what can i do against this.
The Load method on the grid seems to be taking up a higher percentage of the time, but since I can't see any further down the tree in these images, it's hard to guess why that might be the case.
It looks to me like these profiles are showing that just about everything is slower in DotNet 4.0. So my guess is that the grid must be calling some DotNet framework methods that are proportionally slower than some of the other methods you are using.
But again, these performance profiles show a whole lot of information about your GetMemoryRow method, but almost nothing about the Load method, so I'm not sure how I can help you with this.