diff options
-rw-r--r-- | bench/test/dotty/tools/benchmarks/Benchmarks.scala | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/bench/test/dotty/tools/benchmarks/Benchmarks.scala b/bench/test/dotty/tools/benchmarks/Benchmarks.scala index 8be592330..dc2d65528 100644 --- a/bench/test/dotty/tools/benchmarks/Benchmarks.scala +++ b/bench/test/dotty/tools/benchmarks/Benchmarks.scala @@ -37,7 +37,7 @@ class DecoratorPersistor(p: Persistor) extends SerializationPersistor { } object BenchTests extends OnlineRegressionReport { - val outputDir = "./out/" + val outputDir = "../out/" val compiler = new CompilerTest { override val defaultOutputDir: String = outputDir @@ -47,7 +47,7 @@ object BenchTests extends OnlineRegressionReport { val scala2mode = List("-language:Scala2") val dottyDir = "../compiler/src/dotty/" - val testDir = "./bench/tests/" + val testDir = "../bench/tests/" val stdlibFiles = Source.fromFile("../compiler/test/dotc/scala-collections.whitelist", "UTF8").getLines() .map(_.trim) // allow identation @@ -76,12 +76,11 @@ object BenchTests extends OnlineRegressionReport { def setup = performance of "dotty" in { measure.method("stdlib") in { - // maybe scalac curve later - using(Gen.unit("test")) curve "dotty" in { r => stdLib } + using(Gen.unit("test")) curve "stdlib" in { r => stdLib } } measure.method("dotty-src") in { - using(Gen.unit("test")) curve "dotty" in { r => dotty } + using(Gen.unit("test")) curve "dotty-src" in { r => dotty } } val dir = Directory(testDir) @@ -89,7 +88,6 @@ object BenchTests extends OnlineRegressionReport { for (name <- fileNames) { measure.method(name) in { - // maybe scalac curve later using(Gen.unit("test")) curve "dotty" in { r => compiler.compileFile(testDir, name, extension = "") } |