final object Bench
extends Driver

A main class for running compiler benchmarks. Can instantiate a given number of compilers and run each (sequentially) a given number of times on the same sources.

Constructors

Members

[+] @sharable private var numRuns : Int
[+] override def doCompile ( compiler: Compiler , fileNames: List [ String ] ) ( implicit ctx: Context ) : Reporter
[+] def extractNumArg ( args: Array [ String ] , name: String , default: Int ) : ( Int, Array [ String ] )
[+] def extractNumArg$default$3 : Int
[+] def newCompiler ( implicit ctx: Context ) : Compiler
[+] private def ntimes ( n: Int ) ( op: => Reporter ) : Reporter
[+] @sharable private def numRuns_= ( x$1: Int ) : Unit
[+] override def process ( args: Array [ String ] , rootCtx: Context ) : Reporter

Entry point to the compiler using a custom Context.

In most cases, you do not need a custom Context and should instead use one of the other overloads of...

[https://github.com/lampepfl/dotty/tree/master/test/test/OtherEntryPointsTest.scala]

Entry point to the compiler using a custom Context.

In most cases, you do not need a custom Context and should instead use one of the other overloads of process. However, the other overloads cannot be overriden, instead you should override this one which they call internally.

Usage example: [[https://github.com/lampepfl/dotty/tree/master/test/test/OtherEntryPointsTest.scala]] in method runCompilerWithContext