找回密码
 立即注册
相关推荐换一批
  1. OpenHarmony应用程序包整体说明.docx
  2. OpenHarmony应用程序模型的组件和Stage优点.docx
  3. 鸿蒙通知功能源码,即应用程序UI界面之外显示的消息,主要用于提醒
  4. 为了确保应用程序的完整性和来源,OpenHarmony 要求应用程序进行签名。
  5. HiAppEvent 为 OpenHarmony 应用程序提供事件管理接口
  6. 设置应用程序是OpenHarmony系统中预设的系统应用程序。
  7. 鸿蒙分布式文件子系统目前为应用程序提供了IO的JS接口。
  8. 鸿蒙系统为应用程序提供通过CES订阅、发布和取消订阅公共事件的能力
  9. 鸿蒙 资源管理组件为应用程序提供了加载多语言界面资源的能力。
  10. 设置应用程序是OpenHarmony系统中预设的系统应用程序
  11. 鸿蒙 资源管理组件为应用程序提供了加载多语言界面资源的能力。
  12. 鸿蒙 Wi-Fi Aware模块提供入站通信能力,可供上层应用程序使用。
  13. 图库应用程序是OpenHarmony标准系统中预构建的系统应用程序
  14. 鸿蒙构建过程中,需要对应用程序进行签名,以保证应用程序的完整性和来源的可靠。
  15. Ark JS 运行时是 OpenHarmony 上 JS 应用程序使用的运行时。
  16. OpenHarmony 3516 应用程序调用驱动程序尝试 (L1)
  17. OpenHarmony 3.1 账户管理-应用账户管理
  18. 鸿蒙抽.奖小游戏主要源码
  19. mysubsys 子系统、arkui 应用程序和接口文件
  20. OpenHarmony4.0应用自动化测试开发原理
  21. 音视频三位一体创作剪辑
  22. 短视频剪辑0基础到精通PR快速教学:最快两小时即可学会“8门视频课程”
  23. 一念之转:决胜心智自由反转
  24. 易语言LOGO支持库应用程序海龟赛跑源代码
Silverlight我们应用程序Cecil | 程序非源代码 2021-06-11 262 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
Writing a profiler for Silverlight applications,在我的公司,我们有一个非常复杂的 Silverlight 应用程序。此应用程序高度动态且完全异步。最近我们在较慢的 PC 上遇到了一些性能问题。不幸的是,目前还没有任何适用于 Silverlight 应用程序的合适的分析器。因为 - 正如我已经提到的 - 我们的应用程序相当复杂,如果没有一个好的分析工具,很难甚至不可能彻底分析这个应用程序。我们尝试了各种方法来追踪问题,例如手动添加跟踪代码或为我们在 IoC 容器中注册的所有类编写分析拦截器。通过这种方法,我们能够跟踪一些热点,但这些只是冰山一角。在与一位同事讨论时,他向我展示了他在 Mono Cecil 库的帮助下正在做什么,我突然意识到:“我可以编写自己的分析器!”。
这是我使用 Mono Cecil 库的第一个项目。在这个项目中,我们只需要 Mono.Cecil.dll 程序集。
请注意,此处介绍的技术可用于任何类型的程序集,而不仅限于 Silverlight 程序集。


(In my company we have a very complex Silverlight application. This application is highly dynamic and fully asynchronous. Lately we encountered some performance problems on slower PCs. Unfortunately there doesn’t yet exist any decent profiler for Silverlight applications. Since - as I already mentioned - our application is rather complex it is difficult to impossible to analyze this application thoroughly without a good profiling tool. We have tried various ways to track down the problems by e.g. manually adding trace code or by writing profiling interceptors for all our classes that are registered in the IoC container. With this methods we were able to track some hotspots but these were only the tips of an iceberg.
While discussing with a coworker who showed me what he is doing with the aid of the Mono Cecil library I suddenly realized: “I can write my own profiler!”.
This is my first project using the Mono Cecil library. In this project we only need the Mono.Cecil.dll assembly.
Please note that the techniques presented here can be used for any type of assembly and are not restricted to Silverlight assemblies.)

1623386570836.rar


上一篇:Dotpack Beta 1
下一篇:Applied Binary Code Obfuscation