测试WPF控件in​​stanciation性能控件、性能、测试、WPF

2023-09-05 02:12:47 作者:瞌睡虫ら

具体的数据绑定模板,有没有来测试我的控制在这些方面的表现的好方法

Specifically for DataBinding 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.

我同时使用WPF性能套件和蚂蚁探查,但似乎没有提供有关这些方面的信息。

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

任何想法?

推荐答案

无的分析工具(我所遇到)有那种能力。关于结合我发现这个职位/文章有用 -

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

检测绑定,应该是   一次:   的http://$c$c.logos.com/blog/2008/10/detecting_bindings_that_should_be_onetime.html

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

优化性能:数据绑定:    http://msdn.microsoft.com/en-us/library/bb613546.aspx

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