Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WPF performance issue.

$
0
0

Hi,

Working on a 3D engine for my company where the UI is done in WPF I noticed performance loss in some specific condition. Using the profiler I saw that a method of the Windows Presentation Framework took most of the time in the UI thread whereas our own code was mostly constant in time.

The method is MS.Internal.Data.DataBindEngine.CleanupOperation(System.Object) in PresentationFramework.ni.dll. Moreover, I saw that when the performance loss occurs the garbage collector run more often and for longer periods.

I have the strange feeling that the two are related in a way.

Could you tell me what what does the DataBindEngine.CleanupOperation method, in what condition it run and why it is taking so much time. Plus, can you give me where to look to find out why the garbage collector run so often ?

Thanks,

cviot


Viewing all articles
Browse latest Browse all 18858

Trending Articles