gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 00:39:13 25 4
gpt4 key购买 nike

专门针对 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com