Skip to content

Commit 9d16946

Browse files
committed
Use ZGC to attempt to stabilize
1 parent 82c0037 commit 9d16946

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/performance_score_director.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
- name: Phase 2 - Run the new configuration
122122
working-directory: ./timefold-solver-benchmarks
123123
env:
124-
RUN_ID: ${{ github.event.inputs.baseline }}
124+
RUN_ID: ${{ github.event.inputs.branch }}
125125
shell: bash
126126
run: |
127127
./run-scoredirector.sh

src/main/java/ai/timefold/solver/benchmarks/micro/common/AbstractMain.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ public ChainedOptionsBuilder getBaseJmhConfig(C configuration) {
178178
.forks(configuration.getForkCount())
179179
.warmupIterations(configuration.getWarmupIterations())
180180
.measurementIterations(configuration.getMeasurementIterations())
181+
.jvmArgs("-XX:+UseZGC") // Minimize GC pause times.
181182
.result(resultsDirectory.resolve("results.json").toAbsolutePath().toString())
182183
.resultFormat(ResultFormatType.JSON)
183184
.shouldDoGC(true);

0 commit comments

Comments
 (0)