.net - 测试 Wpf Control 实例化性能

标签 .net wpf performance templates data-binding

专门针对 DataBindingTemplates ,有没有一种好方法可以测试我的控件在这些方面的性能。

我想知道多少时间应用模板初始化数据绑定(bind)需要。

我正在使用 Wpf Performance Suite 和 ANTS Profiler,但似乎都没有提供有关这些方面的信息。

有任何想法吗?

最佳答案

没有一个分析工具(我遇到过)具有这种能力。关于绑定(bind),我发现这篇文章/文章很有用 -

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

关于.net - 测试 Wpf Control 实例化性能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3305733/

相关文章:

sql-server - 这个支点能否更有效地完成?

.net - 动态CRM SDK : Unsecured fault in the long run

c# - 如何从前端 (Angular) 向 C# .net datetime (webAPI) 发送日期?

javascript - Node.js 动态 JavaScript 执行性能

c# - WPF Lostfocus 无法正确触发 vs2010 treeviewitem

wpf - 使用 INotifyPropertyChanged 而不是 DependencyProperties 进行数据绑定(bind)

performance - Jmeter - 等待特定响应并收集总响应时间

.net - 低优先级运行或设置流程

c# - 无法下载 Office 365 SharePoint 库项目

c# - 使用 C# 实现鼠标自动化