测试Wpf控制实例性能 [英] Test Wpf Control instanciation performance
问题描述
具体针对 DataBinding
和模板
,是否有一个很好的方法来测试我的控件在这些方面的表现
我想知道应用模板和初始化数据绑定需要多少时间。 p>
我正在使用Wpf Performance Suite和ANTS Profiler,但似乎都没有提供这些方面的信息。
任何想法?
没有一个分析工具(我遇到)有这种能力。关于约束我发现这篇文章有用 -
检测绑定应该是
OneTime:
http://code.logos.com/blog/2008/10/detecting_bindings_that_should_be_onetime.html
优化性能:数据绑定:
http://msdn.microsoft.com/en-us/library/bb613546.aspx
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.
I am using both Wpf Performance Suite and ANTS Profiler but neither seems to provide information on these aspects.
Any ideas?
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
这篇关于测试Wpf控制实例性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!