diff options
author | liu fengyun <liu@fengy.me> | 2016-11-16 17:04:08 +0100 |
---|---|---|
committer | liu fengyun <liu@fengy.me> | 2016-11-24 14:58:51 +0100 |
commit | 157481b24e00c87ba3d44a28dd07c70c28001f0e (patch) | |
tree | c55ba3d22d017bf41f569d625af4fb4bed7dbda2 /bench | |
parent | eaf6a2201bf29dcb18ea54417c2af89e32d11c4b (diff) | |
download | dotty-157481b24e00c87ba3d44a28dd07c70c28001f0e.tar.gz dotty-157481b24e00c87ba3d44a28dd07c70c28001f0e.tar.bz2 dotty-157481b24e00c87ba3d44a28dd07c70c28001f0e.zip |
restore curve name for backward data compatibility
Diffstat (limited to 'bench')
-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 = "") } |