jenkinsci / peass-ci-plugin

Jenkins plugin for peass to support performance measurement in CI
https://plugins.jenkins.io/peass-ci/
GNU Affero General Public License v3.0
4 stars 13 forks source link

Enable Direct Kieker Measurement #154

Closed DaGeRe closed 2 years ago

DaGeRe commented 2 years ago

What feature do you want to see added?

When Spring tests are executed, e.g. using SpringJUnit4ClassRunner, startup code is executed (e.g. cleaning the database). In this case, it is not possible to repeat the test multiple times without the startup code, since tests usually require a clean database. Measuring the startup everytime makes the measurement values less usable.

Instead, the measurement should be done directly inside the method instead of by KoPeMe outside of the method. This requires a new option directlyMeasureKieker which

Upstream changes

No response

DaGeRe commented 2 years ago

This will be implemented in https://github.com/DaGeRe/peass/tree/directlyMeasureKieker. The disabling of regular measurement on setting the property works.

DaGeRe commented 2 years ago

The integration test is now present: 12e8ec57bc097000a26794ce5b62cbbe56cd3224 Now, the data creation needs to be implemented.

DaGeRe commented 2 years ago

The instrumentation of test methods and the conversion of data works now: https://github.com/DaGeRe/peass/commit/4357520bcb7443ee5d47b36b699cb0cbc34ca34a After a KoPeMe release, which is necessary to run the tests without any internal KoPeMe measurement, this should fully work.