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

Add a Parameter for Changing Explicit Value in Code, this Effect the Execution Time #177

Closed bam-hbt closed 2 years ago

bam-hbt commented 2 years ago

What feature do you want to see added?

In some cases is the execution time dependet on a variable in code. Peass by instrumentation slows down the execution time longer than the execution the same code. If the execution time is dependent on a certain Variable in code, peass cannot change the value. The solution is to pass value as parameters to adjust the execution time for peass execution.

To achive this, the following tasks should be done:

Upstream changes

No response

DaGeRe commented 2 years ago

Thank for the groundwork, this should work now: https://github.com/DaGeRe/peass/commit/17f21f43e85b608f2186fc651438a6fbf133d770 Can you confirm this?

bam-hbt commented 2 years ago

This was tested. The variable in class has changed. This works now.