Java Profiling in Continuous Integration

廉价感情. 提交于 2019-12-21 12:56:17

问题


Are there any Java profiling tools that integrate with CI servers like Jenkins?

I've no idea if such things exist, but what would be splendid would be some kind of test framework that yielded results like YourKit Profiler's snapshots. These would be invoked by the CI server, and the results stored along with the build. The result being that one could see a history of performance changes in code units, to aid more holistic performance investigations at a system integration level.


回答1:


Take a look at spf4j, I use it for continuous profiling (profiling always turned on).

It uses sampling for profiling and it can save the profile data to ssdump files, or it can generate html reports. (Spf4j has a UI to visualize the ssdump profile files)



来源:https://stackoverflow.com/questions/17105443/java-profiling-in-continuous-integration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!