TProfiler日志分析
来源:互联网 发布:环保75标准数据 编辑:程序博客网 时间:2024/06/05 15:40
原文地址:https://github.com/alibaba/TProfiler/wiki/TProfiler日志分析
tprofiler.log文件格式说明:
线程ID 线程栈深度 方法ID 方法执行时间
13 2 14558 6
13 2 14554 2
13 3 14576 2
13 4 14567 2
13 2 14554 4
13 2 14556 13
分析sampler log命令: java -cp tprofiler.jar com.taobao.profile.analysis.SamplerLogAnalysis d:/tsampler.log d:/method.log d:/thread.log
,会生成method.log和thread.log
method.log文件格式说明:
方法信息 采样过程中方法出现次数
org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:428) 19728
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:518) 19728
org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:47) 19728
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) 17558
thread.log文件格式说明:
线程信息 采样过程中线程出现次数
56 DefaultQuartzScheduler_Worker-3 TIMED_WAITING 661
55 DefaultQuartzScheduler_Worker-2 TIMED_WAITING 661
60 DefaultQuartzScheduler_Worker-7 TIMED_WAITING 661
分析profiler log命令: java -cp tprofiler.jar com.taobao.profile.analysis.ProfilerLogAnalysis d:/tprofiler.log d:/tmethod.log d:/topmethod.log d:/topobject.log
,会生成topmethod.log和topobject.log
topmethod.log文件格式说明:
方法信息 执行次数 平均执行时间 全部执行时间
org/apache/velocity/runtime/parser/node/ASTBlock:render:74 38954 28 1101570
org/apache/velocity/runtime/parser/node/SimpleNode:render:338 39202 21 820064
topobject.log文件格式说明:
方法信息 执行次数 平均执行时间 全部执行时间
sketch/compile/parser/node/PropertyExecutor:<init>:32 573 1 636
sketch/util/introspection/UberspectImpl:<init>:282 34 7 241
- TProfiler日志分析
- 性能分析工具 TProfiler
- tprofiler源代码分析
- 淘宝Tprofiler工具实现分析
- 淘宝Tprofiler工具实现分析
- TProfiler
- tProfiler
- TProfiler介绍
- TProfiler简介
- 使用TProfiler分析并调优项目中的Fastjson序列化代码
- TProfiler部署文档
- TProfiler部署文档--笔记
- 淘宝tprofiler使用说明
- TProfiler实现原理
- TProfiler配置部署
- TProfiler工具使用
- TProfiler 进行jvm调优
- TProfiler工具的使用
- 版本更新(自开服务器版)
- 《长尾理论》读书笔记
- 软工图表
- springMVC框架下如何实现移动端接口调用——流程简介篇
- JavaScript学习(一)
- TProfiler日志分析
- RemoteSever的通信AIDL
- 关于javaweb中简单的跨域问题
- hibernate对union查询bug
- Spring AOP中强制使用CGLIB代理
- GridView
- 函数指针语法梳理
- hibernate工作原理
- 若处理器是Big_endian的,则返回0;若是Little_endian的,则返回1