测试WPF控件in​​stanciation性能 [英] Test Wpf Control instanciation performance

查看:198
本文介绍了测试WPF控件in​​stanciation性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

这篇关于测试WPF控件in​​stanciation性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆