你好,
>>但是在那台机器上,就是比其他机器内存多消耗一倍左右,什么原因
对于这个问题,根据我的经验,因为WPF的界面是使用软件和硬件加速,他会根据机器配置和综合性能选择合适的渲染模式:
http://msdn.microsoft.com/en-us/library/ms742196(v=vs.110).aspx
这几台机器的硬件配置可能会不同,还有对于一些已知的问题,微软会在最新的补丁中修复,建议安装最新的系统补丁再测试。
一般我们会使用 WPF Performance Suite 去协助分析WPF性能问题,具体可见:http://msdn.microsoft.com/en-us/library/aa969767(v=vs.110).aspx
微软官方列举的一些性能优化贴士
http://msdn.microsoft.com/en-us/library/aa970683(v=vs.110).aspx
这里有一篇英文文章详细介绍了一些性能分析方法和工具:http://www.codeproject.com/Articles/784529/Solutions-for-WPF-Performance-Issue
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.