File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
compilation/src/main/dotc/scala/tools/benchmark Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name := "compiler-benchmark"
33version := " 1.0-SNAPSHOT"
44
55def scala212 = " 2.12.8"
6- def dottyLatest = " 0.8 .0-RC1"
6+ def dottyLatest = " 0.21 .0-RC1"
77scalaVersion in ThisBuild := scala212
88val JmhConfig = config(" jmh" )
99
@@ -13,7 +13,7 @@ commands += Command.command("testAll") { s =>
1313 " hot -psource=scalap -wi 1 -i 1 -f1" ::
1414 s " ++ $dottyLatest" ::
1515 " compilation/test" ::
16- " hot -psource=vector -wi 1 -i 1 -f1" ::
16+ " hot -psource=re2s -wi 1 -i 1 -f1" ::
1717 s " ++ $scala212" ::
1818 " micro/jmh:run -w1 -f1" ::
1919 s
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ trait BenchmarkDriver extends BaseBenchmarkDriver {
1313 depsClasspath.mkString(File .pathSeparator))
1414 }
1515 ctx.setSetting(ctx.settings.migration, false )
16- ctx.setSetting(ctx.settings.outputDir, tempDir.getAbsolutePath)
16+ ctx.setSetting(ctx.settings.outputDir, dotty.tools.io. AbstractFile .getDirectory( tempDir.getAbsolutePath) )
1717 ctx.setSetting(ctx.settings.language, List (" Scala2" ))
1818 val compiler = new dotty.tools.dotc.Compiler
1919 val reporter = dotty.tools.dotc.Bench .doCompile(compiler, allArgs)
You can’t perform that action at this time.
0 commit comments