How do I plot benchmark data in a Jenkins matrix project

こ雲淡風輕ζ 提交于 2019-12-30 09:50:31

问题


I have several Jenkins matrix projects in where I output benchmark results (i.e. execution times) in a CSV file. I'd like to plot these execution times as a function of the build number, so I can see if my projects are regressing over time.


回答1:


I can confirm Plot Plugin is a correct and quite useful approach. BTW, it supports CSV as well: plot configuration example

I've been using it for several years without any problem. Benchmarks results were generated as a property file. Benchmark id (series id) was used as a key and result as a value. One build produces one result for each benchmark. Having that data it is quite easy to create plot configuration ant track performance.




回答2:


This may help you:

https://wiki.jenkins-ci.org/display/JENKINS/Plot+Plugin

It adds plotting capabilities to Jenkins.



来源:https://stackoverflow.com/questions/12719194/how-do-i-plot-benchmark-data-in-a-jenkins-matrix-project

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