Skip to content

Commit

Permalink
Tweaked logic for checking existing attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBakerEffendi committed Aug 5, 2024
1 parent c366542 commit 2667f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runBenchmarks.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2667f54

Please sign in to comment.