ANTS Performance Profiler安装激活

来源:互联网 发布:日语辅助翻译软件 编辑:程序博客网 时间:2024/06/07 20:10

1、安装

这里写图片描述

2、激活

1)拷贝key至ants
这里写图片描述
2)点击Activate Manually
这里写图片描述
3)点击Finish即可
这里写图片描述

3、简介

这里写图片描述
Profiling mode:

  • Line-level & method-level timings; All methods inc. framework:记录应用程序中具有源代码的每行代码分析结果,没有源代码的方法,最详细可准备定位到问题代码行,但大量开销会降低性能导致时间收集有偏差
  • Method-level timings; All methods inc. framework:记录方法执行次数,适用在不确定是代码还是无源代码第三方引起的性能问题时使用
  • Line-level & method-level timings; Only methods with source:适用具有源码或已反编译代码,记录每个执行方法中的每行代码需要时间
  • Method-level timings; Only methods with source:适用具有源码或已反编译代码,记录
  • Sample method-level timings; All methods inc.framework:最少开销,不能计算每种方法的次数,适用长时间运行的程序

Chart performance counters:

  • %Processor Time:处理器时间(所有运行的线程在CPU上使用的时间百分比)
  • .NET:垃圾收集器促进对象的速率
  • Memory:服务使用的物理内存总量
  • IO:磁盘读写
阅读全文
0 0
原创粉丝点击