Silverlight 内存分析器是否存在? [英] Does a Silverlight memory profiler exist?

查看:23
本文介绍了Silverlight 内存分析器是否存在?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

CLR 分析器似乎不适用于 Silverlight CLR.是否存在另一个内存分析器?

CLR profiler does not seem to work with the Silverlight CLR. Does another memory profiler exist?

推荐答案

似乎还没有可用的方案.但是,正如在此论坛主题中推荐,您可以转换您的 Silverlight应用到 WPF 应用程序和配置文件:

Doesn't seem to be one available yet. However, as recommended in this forum thread, you can convert your Silverlight app to a WPF application and profile that:

目前还没有任何工具,但作为一种解决方法,您可以从相同的代码库和少量调整轻松创建 Silverlight 客户端的桌面 (WPF) 版本(有关此示例,请参阅 Scot 的博客 - http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-8-creating-a-digg-desktop-application-using-wpf.aspx).完成此操作后,您可以运行任何适用于 WPF 的性能分析器.

There is no tool as of now but as a workaround you can easily create a desktop (WPF) version of your Silverlight client from the same code base and few tweaks (refer Scot's blog for an example on this - http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-8-creating-a-digg-desktop-application-using-wpf.aspx) . Once you are done with this you can run any performance profiler that works with WPF.

不是最佳解决方案,但听起来是目前最好的选择...

Not an optimal solution, but it sounds like the best option for now...

更新:刚刚看到一个博客文章 关于 XPerf,它是 Silverlight 的 CPU 采样器.不完全是内存分析器,而是用于测试 Silverlight 应用程序性能的好工具...

Update: Just saw a blog post about XPerf which is a cpu sampler for Silverlight. Not exactly a memory profiler but a good tool for testing the performance of Silverlight apps...

这篇关于Silverlight 内存分析器是否存在?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆