Skip to content

Commit

Permalink
Suppress jmh file report
Browse files Browse the repository at this point in the history
Otherwise, it will write report to a file `out`, which conflicts
with the `out` folder in the lampepfl/bench project.
  • Loading branch information
liufengyun committed Mar 16, 2020
1 parent dfaf77b commit 94bedb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bench-run/src/main/scala/dotty/tools/benchmarks/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,14 @@ object Bench {
.measurementTime(TimeValue.milliseconds(500))
.forks(forks)
.include(args1(0))
.resultFormat(ResultFormatType.CSV)

if (args1.length > 1 && args1(1) != "--") {
for ((param, values) <- paramsFromFile("inputs/" ++ args1(1)))
builder = builder.param(param, values: _*)
}

if (args1.length > 2) {
builder = builder.result(args1(2))
builder = builder.resultFormat(ResultFormatType.CSV).result(args1(2))
}

val runner = new Runner(builder.build)
Expand Down

0 comments on commit 94bedb5

Please sign in to comment.