Skip to content

Commit 4c1a446

Browse files
committed
Bump
1 parent da186ef commit 4c1a446

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/performance_score_director.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ jobs:
174174
working-directory: ./timefold-solver-benchmarks
175175
shell: bash
176176
run: |
177-
echo "forks=1" > scoredirector-benchmark.properties
177+
echo "forks=2" > scoredirector-benchmark.properties
178178
echo "warmup_iterations=1" >> scoredirector-benchmark.properties
179179
echo "measurement_iterations=1" >> scoredirector-benchmark.properties
180180
echo "relative_score_error_threshold=0.02" >> scoredirector-benchmark.properties

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ public void endBenchmark(BenchmarkResult result) {
8585
if (jfrFile == null) {
8686
return;
8787
}
88-
var target = resultsDirectory.resolve(System.nanoTime() + "-" + jfrFile.getName());
88+
var unixTime = System.currentTimeMillis() / 1000;
89+
var target = resultsDirectory.resolve(unixTime + "-" + jfrFile.getName());
8990
try {
9091
Files.copy(jfrFile.toPath(), target);
9192
} catch (IOException e) {

0 commit comments

Comments
 (0)