File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/ai/timefold/solver/benchmarks/micro/common Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ jobs:
174
174
working-directory : ./timefold-solver-benchmarks
175
175
shell : bash
176
176
run : |
177
- echo "forks=1 " > scoredirector-benchmark.properties
177
+ echo "forks=2 " > scoredirector-benchmark.properties
178
178
echo "warmup_iterations=1" >> scoredirector-benchmark.properties
179
179
echo "measurement_iterations=1" >> scoredirector-benchmark.properties
180
180
echo "relative_score_error_threshold=0.02" >> scoredirector-benchmark.properties
Original file line number Diff line number Diff line change @@ -85,7 +85,8 @@ public void endBenchmark(BenchmarkResult result) {
85
85
if (jfrFile == null ) {
86
86
return ;
87
87
}
88
- var target = resultsDirectory .resolve (System .nanoTime () + "-" + jfrFile .getName ());
88
+ var unixTime = System .currentTimeMillis () / 1000 ;
89
+ var target = resultsDirectory .resolve (unixTime + "-" + jfrFile .getName ());
89
90
try {
90
91
Files .copy (jfrFile .toPath (), target );
91
92
} catch (IOException e ) {
You can’t perform that action at this time.
0 commit comments