Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
The geode-benchmarks currently have some hard coded system properties that can be used to change the behavior of the tests. Each property is copied by hand the build.gradle file.
We should not need to name each property in build.gradle file if the properties use a consistent naming convention. In addition, we can dump out all of the properties that were set with a benchmark to keep track of what was different in that run.
Finally, it's often helpful when debugging to automatically set system properties on test JVMs, for example to change geode behavior. By using a naming convention we can also automatically pass properties to the benchmark JVMs.
To accomplish this, all existing properties will be renamed to start with "benchmark." These properties can be passed as gradle flags. For example
./gradlew benchmark -Pbenchmark.withThreads=10)
Properties that start with "benchmark.system.ROLE." will be set as system properties in the test JVMs.
Attachments
Issue Links
- links to