@@ -37,7 +37,7 @@ class DecoratorPersistor(p: Persistor) extends SerializationPersistor {
3737}
3838
3939object BenchTests extends OnlineRegressionReport {
40- val outputDir = " ./out/"
40+ val outputDir = " .. /out/"
4141
4242 val compiler = new CompilerTest {
4343 override val defaultOutputDir : String = outputDir
@@ -47,7 +47,7 @@ object BenchTests extends OnlineRegressionReport {
4747 val scala2mode = List (" -language:Scala2" )
4848
4949 val dottyDir = " ../compiler/src/dotty/"
50- val testDir = " ./bench/tests/"
50+ val testDir = " .. /bench/tests/"
5151
5252 val stdlibFiles = Source .fromFile(" ../compiler/test/dotc/scala-collections.whitelist" , " UTF8" ).getLines()
5353 .map(_.trim) // allow identation
@@ -76,20 +76,18 @@ object BenchTests extends OnlineRegressionReport {
7676 def setup =
7777 performance of " dotty" in {
7878 measure.method(" stdlib" ) in {
79- // maybe scalac curve later
80- using(Gen .unit(" test" )) curve " dotty" in { r => stdLib }
79+ using(Gen .unit(" test" )) curve " stdlib" in { r => stdLib }
8180 }
8281
8382 measure.method(" dotty-src" ) in {
84- using(Gen .unit(" test" )) curve " dotty" in { r => dotty }
83+ using(Gen .unit(" test" )) curve " dotty-src " in { r => dotty }
8584 }
8685
8786 val dir = Directory (testDir)
8887 val fileNames = dir.files.toArray.map(_.jfile.getName).filter(name => (name endsWith " .scala" ))
8988
9089 for (name <- fileNames) {
9190 measure.method(name) in {
92- // maybe scalac curve later
9391 using(Gen .unit(" test" )) curve " dotty" in { r =>
9492 compiler.compileFile(testDir, name, extension = " " )
9593 }
0 commit comments