views:

56

answers:

1

Specifically for data binding and templates, is there a good way to test the performance of my controls in these respects.

I would like to know how much time applying the template and initializing the data binding takes.

I am using both Wpf Performance Suite and ANTS Profiler but neither seems to provide information on these aspects.

Any ideas?

+2  A: 

None of the profiling tools(I have come across) have that kind of capability. Regarding binding I have found this post/article useful -

Detecting Bindings that should be OneTime: http://code.logos.com/blog/2008/10/detecting_bindings_that_should_be_onetime.html

Optimizing Performance: Data Binding: http://msdn.microsoft.com/en-us/library/bb613546.aspx

akjoshi
+1: thanks for the links.
Patrick Klug