本文介绍了如何在Jenkins矩阵项目中绘制基准数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有几个Jenkins矩阵项目,我在其中以CSV文件输出基准测试结果(即执行时间).我想将这些执行时间绘制为内部版本号的函数,这样我就可以查看我的项目是否随着时间而回归.

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.

推荐答案

我可以确认绘图插件是一种正确且非常有用的方法.顺便说一句,它也支持CSV:绘图配置示例

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.

这篇关于如何在Jenkins矩阵项目中绘制基准数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 17:25