javasimon性能统计工具,每次记录约消耗5纳秒
使用样例:
PerfMonitor monitor = PerfManager.getWatcher("moduleName","customInfo")
PerfPoint point = point.start();
doSomeThing();
point.stop;
pom.xml需要加入依赖:
<dependency>
<groupId>org.javasimon</groupId>
<artifactId>javasimon-spring</artifactId>
<version>${project-javasimonVersion}</version>
</dependency>
<dependency>
<groupId>org.javasimon</groupId>
<artifactId>javasimon-console-embed</artifactId>
<version>${project-javasimonVersion}</version>
</dependency>
<dependency>
<groupId>org.javasimon</groupId>