如何简化常规 WPF 渲染以最大限度地提高性能?
我必须通过远程桌面使用自己编写的 WPF 应用程序,且 Internet 连接速度较慢。
当涉及到滚动时 - 看起来应用程序挂起一两秒钟。应用程序在本地计算机上运行速度相当快,但 RDP 性能却令人失望。
我想我必须尽可能简化 WPF 渲染。我想以某种方式告诉 WPF 子系统:尽可能简单地渲染所有控件。
你在这里有什么建议?
I have to use self-written WPF application via Remote Desktop with slow Internet connection.
When it comes to scrolling - it looks like application hangs for a second or two. Application runs pretty fast on local computer but when it comes to RDP performance become dissapointment.
I guess I have to simplify WPF render as much as possible. I'd like somehow to tell WPF subsystem: render all of your controls as simple as you can.
What would you suggest here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
与 RDP 相关的 Visual Studio 团队。 这篇文章有很多细节,例如降低帧速率和实施VisualScrollableAreaClip。我快速浏览了一下,发现 AvalonEdit 似乎没有使用 VisualScrollableAreaClip,因此在重新设计所有控件之前,该帖子中提到的其他设置可能值得研究一下。
There are some tips from the Visual Studio team relating to RDP. This post has a lot of details such as reducing the framerate and implementing VisualScrollableAreaClip. I had a quick look and AvalonEdit doesn't seem to use VisualScrollableAreaClip so that and the other settings mentioned in that post might be worth looking into before retemplating all your controls.