From 2667f54a9e616826cfb413fb9591e718ccec79be Mon Sep 17 00:00:00 2001 From: David Baker Effendi Date: Mon, 5 Aug 2024 23:17:18 +0100 Subject: [PATCH] Tweaked logic for checking existing attempt --- runBenchmarks.sc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runBenchmarks.sc b/runBenchmarks.sc index 4df8dda3..d222181d 100644 --- a/runBenchmarks.sc +++ b/runBenchmarks.sc @@ -28,7 +28,7 @@ val drivers = Seq("overflowdb", "tinkergraph val outputPath = Path.of(driverResultsDir.toString, s"output-Xmx${memGb}G") val (writeOutputFile, readOutputFile) = (Path.of(s"$outputPath-write.txt").toFile, Path.of(s"$outputPath-read.txt").toFile) - val existingAttempt = Path.of(s"$resultsPath-sbt.txt").toFile.exists() + val existingAttempt = Path.of(s"$outputPath-sbt.txt").toFile.exists() val cmd = s"Jmh/runMain com.github.plume.oss.Benchmark $driver ${projectDir.toAbsolutePath} -o ${outputPath.toAbsolutePath} -r ${resultsPath.toAbsolutePath} -m $memGb" JmhProcessInfo(cmd, existingAttempt, writeOutputFile, readOutputFile)