gpt4 book ai didi

silverlight - 如何分析 Silverlight 应用程序?

转载 作者:行者123 更新时间:2023-12-03 13:25:27 24 4
gpt4 key购买 nike

他们是否有任何支持 Silverlight 的分析器?我试过ANTS(3.1版)没有任何成功?版本 4 支持吗?我可以尝试其他任何产品吗?
更新
自 Silverlight 4 发布以来,现在可以对 SL 应用程序进行全面分析...查看 this有关该主题的文章

At PDC, I announced that Silverlight 4 came with the new CoreCLR capability of being profile-able by the VS2010 profilers: this means that for the first time, we give you the power to profile the managed and native code (user or platform) used by a Silverlight application. woohoo. kudos to the CLR team.

Sidenote: From silverlight 1-3, one could only use things like xperf (see XPerf: A CPU Sampler for Silverlight) which is very powerful to see the layout/text/media/gfx/etc pipelines, but only gives the native callstack.)


来自 SilverLite ( PDC video, TechEd Iceland, VS2010, profiling, Silverlight 4)

最佳答案

在此处安装 XPerf 和 xperfview:http://msdn.microsoft.com/en-us/library/cc305218.aspx

(1) 启动您的样本

(2) xperf -on 基础

(3) 稍等

(4) xperf –d myprofile.etl

(5) 完成后,设置符号路径:set _NT_SYMBOL_PATH= srvC:\symbols http://msdl.microsoft.com/downloads/symbols

(6) xperfview myprofile.etl

(7) 跟踪 -> 加载符号

  • 选择要查看的 CPU 图形区域
  • 右键单击并选择汇总表

  • (8) 接受 EULA 以使用符号,展开 IExplore,展开 agcore.dll 或任何您的顶级模块

    关于silverlight - 如何分析 Silverlight 应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55943/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com