Silverlight 2.0 应用程序中的性能监控
有没有办法监控Silverlight 2.0应用程序的CPU和内存使用情况? 有没有可用的工具来执行此操作?
Is there a way to monitor the CPU and memory usage of Silverlight 2.0 Applications? Are there any tools available for doing this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尽管没有完美的答案,但要进行全面的性能分析,请将您的 Silverlight 应用程序转换为 WPF 桌面应用程序。 有很多适用于 WPF 桌面应用程序的分析器。
另外,我发现了一个非常酷的工具可以满足您的需求:
Silverlight Spy 是一款免费的基本分析器,适用于 2.0 和 3.0
本文解释了用户采取的其他一些方法
此堆栈溢出问题使用 Windows Server 工具提供了另一个答案,但它没有提及这些其他技术,我不确定您是否在问一样。 无论如何,它建议使用 XPerf,所以这里有一个很好的解释 使用 XPerf 分析 Silverlight
Though there is no perfect answer, for full power profiling, convert your Silverlight app to a WPF desktop app. There are plenty of profilers for WPF desktop applications.
Alternatively, I found a pretty cool tool that may serve your needs:
Silverlight Spy is a free, basic profiler for 2.0 and 3.0
This article explains some other approaches users have taken
This stack overflow question provides another answer using Windows Server tools, but it makes no mention of these other techniques, and I'm not sure if you're asking the same thing. Anyway, it suggests using XPerf, so here is an excellent explanation of profiling Silverlight using XPerf