Reputation: 1233
I am using GitLab to host a project where performance is the main focus. I currently have tests which assert that certain tasks finish in given time.
I'd like to expand my CI configuration to measure how a particular commit or pull request affects performance and have the information available in a convenient format (charts, performance change by commit, etc.).
Basically I want the equivalent of coveralls.io except for performance instead of coverage.
I'm interested in all solutions which work on GitHub or GitLab.
Please note that this question is not about how to do performance testing in CI, it's about presenting the obtained data in a convenient way.
Upvotes: 1
Views: 1304
Reputation: 168072
GitHub or GitLab are only source control hosting services, my expectation is that you need to have a piece of software which will orchestrate the build, to wit:
This is normally done by a CI server and if you don't have one - you will need to choose it and if you don't have a better candidate - I'd recommend going for Jenkins which is some form of an industry standard.
Jenkins in its turn has Performance Plugin which can build performance trends charts for the following formats:
So if your tests produce results in one of the above formats you will be able to have charts like:
In addition you will be able to conditionally mark your build as failed depending on different criteria (% of errors, response time exceeds thresholds, current build result is worse than previous, etc.)
Upvotes: 1