难道一个Silverlight内存分析器存在吗? [英] Does a Silverlight memory profiler exist?

查看:205
本文介绍了难道一个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:

有没有工具,现在却作为一种解决方法,你可以很容易地创建一个桌面(WPF)版本的Silverlight客户端从同一个code群和一些调整(见苏格兰人的博客上这样的例子 - <一个href="http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-8-creating-a-digg-desktop-application-using-wpf.aspx" rel="nofollow">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这是一个cpu采样器Silverlight的。不完全是一个内存分析器,但测试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天全站免登陆