`
yaozhiqiang109
  • 浏览: 117360 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

Spring TC SERVER性能分析

阅读更多

TC SERVER是一个spring组织改装过的tomcat,提供的开发版里面支持程序的性能分析,
最直接的一个功能是能以图形的方式显示出一个请求里面每个 方法及SQL所耗费的时间,
这对调优程序有较大的帮助,各位可以在本机进行程序调试时使用。

 

安装使用方法:

(1)解压到指定目录

(2)创建一个带insight分析的实例,在CMD下运行:tcruntime-instance.bat create myserver -t insight (其中myserver是任意取的名字)

(3)按需要修改端口之类的参数,参数文件为   解压根目录\myserver\conf\catalina.properties

(4) 部署你的应用至\myserver\weapps 目录下

(5)安装myserver  解压根目录\tcruntime-ctl.bat myserver install

(6)启动myserver  解压根目录\tcruntime-ctl.bat myserver start

(7) 进行请求

(8)查看请求耗时:http://localhost:端口/insight/traces

 

到该处下载http://downloads.vmware.com/  vfabric-tc-server-developer-2.5.0.RELEASE.tar.gz即可

0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics