首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > java线程局部剖面

java线程局部剖面

资 源 简 介

Java thread local profiler. Little library for java application profiling. Collects all performance metrics under same umbrella, which can be printed out together. Best use with some logging framework. The core does not have any dependencies and because of that can be located on top of class loader hierarchy. Support for Spring-framework and Liferay. Usage: ``` Watch watch = ThreadLocalProfiler.start(); ThreadLocalProfiler.stop(watch , getClass(),"doStuffMethod", "this might be slow"); ``` Example log Timestamp: Start: Elapsed: ToNext: Action: THRESHOLD ROWINDENTIFIER2010-09-22 20:36:12.187 0 188 16 root THRESHOLD ROWINDENTIFIER2010-09-22 20:36:12.203 16 172 31 -com.sohlman.profiler.test.0.Doit.method0(..) THRESHOLD ROWINDENTIFIER2010-09-22 20:36:12.234 47 0 31 --com.sohlman.profiler.test.1.Doit.method0(..) THRESHOL
VIP VIP
0.218104s