We have quite some performance issue in our wpf application. The application itself is a WinForms app that is using ElementHost to host smaller wpf-applications. In one of the smaller apps we have a listbox that are using UserControls as items. When we do some performance-testing on this app feeding it with 1000 items and filtering the items we get a list of long calls as the image shows. I have no idea why the InvalidateVisualAncestor method call takes such a long time. (The measurment is done with JetBrains dotTrace Performance 4)
Do you have any other suggestions on how to find bottlenecks in WPF?