This repository has been archived by the owner on Aug 23, 2020. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
We have added the following flags to benchmark runner:
-Dforks
- How may time should the jvm fork. Running more than one fork will cause more iterations but should reset JVM optimization profiles. May reduce variance. Default Value: 1.-DwarmUpIterations
- How many warm up iterations we should run before we stop measuring. Default value: 5-DmeasurementIterations
- How many measurement iterations we should have. Default value: 10-Dthreads
- How many threads will run the test (concurrency). Default value: # of cores.Example of how to run from CLI:
mvn -Dtest=BenchmarkRunner#launchDbBenchmarks -Dforks=2 -DmeasurementIterations=6 -DwarmUpIterations=2 -Dthreads=3 test
Fixes #1651
Type of change
How Has This Been Tested?
Locally run the example line. The following was printed:
Checklist: