Bench

abstract class Bench[U] extends DSL[U] with Serializable

Base class for ScalaMeter benchmarks.

Base class for ScalaMeter benchmarks.

Companion
object
trait Serializable
class DSL[U]
class Object
trait Matchable
class Any

Type members

Inherited classlikes

case object measure
Inherited from
DSL
case object performance
Inherited from
DSL

Inherited types

type SameType
Inherited from
BasePerformanceTest

Value members

Concrete methods

def main(args: Array[String]): Unit
def runBench(args: Array[String]): Boolean

Inherited methods

def defaultConfig: Context
Inherited from
BasePerformanceTest
def executeTests(): Boolean

Runs all the tests in this test class or singleton object.

Runs all the tests in this test class or singleton object.

Inherited from
BasePerformanceTest

The optional executor assigned to a particular body of DSL code.

The optional executor assigned to a particular body of DSL code.

Inherited from
BasePerformanceTest
def isModule: Boolean
Inherited from
BasePerformanceTest
def measurer: Measurer[U]
Inherited from
BasePerformanceTest
def rebuildSetupZipper(): Unit

Allows rebuilding of setup zipper after test initialization.

Allows rebuilding of setup zipper after test initialization.

Default implementation is empty.

Inherited from
BasePerformanceTest
Inherited from
BasePerformanceTest
def using[T](gen: Gen[T]): Using[T]
Inherited from
DSL

Deprecated and Inherited methods

@deprecated("This form of include is deprecated -- please extend Bench.Group ".+("and use include(new MyBench {}), ").+("where MyBench is a *trait*, and not a class or an object."), "0.7")
def include[T <: BasePerformanceTest[_]](`evidence$1`: ClassTag[T]): Unit
Deprecated
Inherited from
DSL