File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,15 @@ pipeline:
1414 commands :
1515 - cp -R . /tmp/1/ && cd /tmp/1/
1616 - ./project/scripts/sbt test
17+ - ./project/scripts/sbt ";dotty-bench/jmh:run 1 1 tests/run/arrays.scala"
1718
1819 test_bootstrapped :
1920 group : test
2021 image : lampepfl/dotty:2017-09-08
2122 commands :
2223 - cp -R . /tmp/2/ && cd /tmp/2/
2324 - ./project/scripts/sbt dotty-bootstrapped/test
25+ - ./project/scripts/sbt ";dotty-bench-bootstrapped/jmh:run 1 1 tests/run/arrays.scala"
2426
2527 test_optimised :
2628 group : test
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ object Bench {
2525 val (intArgs, args1) = args.span(x => try { x.toInt; true } catch { case _ : Throwable => false } )
2626
2727 val warmup = if (intArgs.length > 0 ) intArgs(0 ).toInt else 30
28- val iteration warmup = if (intArgs.length > 1 ) intArgs(1 ).toInt else 20
28+ val iterations = if (intArgs.length > 1 ) intArgs(1 ).toInt else 20
2929
3030 val args2 = args1.map { arg =>
3131 if ((arg.endsWith(" .scala" ) || arg.endsWith(" .java" )) && arg.head != '/' ) " ../" + arg
You can’t perform that action at this time.
0 commit comments