org.scalameter

Type members

Classlikes

object Aggregator
Companion
class
trait Aggregator[T] extends Seq[Quantity[T]] => Quantity[T] with Serializable
Companion
object
case class Context(properties: Map[Key[_], Any])
Companion
object
object Context
Companion
class
case class Event(testName: String, description: String, result: Result, throwable: Throwable)
trait Events
Companion
object
object Events
Companion
class
trait Foreach[T]
trait InvocationCount extends Measurer[Map[String, Long]]

Mixin for all org.scalameter.Measurer implementations that perform any kind of method invocation counting.

Mixin for all org.scalameter.Measurer implementations that perform any kind of method invocation counting.

class Key[T](val name: String)(`evidence$1`: Pickler[T], container: KeyContainer) extends PicklerBasedKey[T]
Companion
object
object Key extends Keys
Companion
class
abstract class KeyContainer(val containerName: String, val enclosing: KeyContainer)
trait KeyValue
Companion
object
object KeyValue
Companion
class
class KeyWithDefault[T](name: String)(`evidence$2`: Pickler[T], container: KeyContainer) extends Key[T]

Base for keys that have some kind of default value.

Base for keys that have some kind of default value.

class KeyWithDefaultKey[T](name: String, val default: KeyWithDefaultValue[T])(`evidence$4`: Pickler[T], container: KeyContainer) extends KeyWithDefault[T]

Key that chains finding default value to KeyWithDefaultValue if value under key is not found in a context.

Key that chains finding default value to KeyWithDefaultValue if value under key is not found in a context.

Note that this key type is handled in org.scalameter.Context.apply).

class KeyWithDefaultValue[T](name: String, val default: T)(`evidence$3`: Pickler[T], container: KeyContainer) extends KeyWithDefault[T]

Key that defaults to default if value under key is not found in a context.

Key that defaults to default if value under key is not found in a context.

Note that this key type is handled in org.scalameter.Context.apply).

class Keys extends KeyContainer
abstract class Log
Companion
object
object Log
Companion
class
class MeasureBuilder[T, U](val ctx: Context, val warmer: Warmer, val measurer: Measurer[U], val regen: () => T, val setup: T => Unit, val teardown: T => Unit, val resultFunction: Seq[Quantity[U]] => Quantity[U])
Companion
object
Companion
class
case class MeasurementData[T](complete: Seq[T], success: Boolean)
trait Measurer[V] extends Serializable
Companion
object
object Measurer
Companion
class
class MonadicDynVar[T](v: T) extends DynamicVariable[T]
trait PicklerBasedKey[T] extends Serializable
Companion
object
Companion
class
case class Quantity[V](value: V, units: String)
trait Warmer extends Serializable
Companion
object
object Warmer
Companion
class

Value members

Concrete methods

def log: Log
def withTestContext[U](ctx: Context, log: Log, handler: Events)(body: => U): U

Deprecated methods

@deprecated("Use utils.ClassPath.default", "0.5")
def defaultClasspath: String
Deprecated
@deprecated("Use utils.ClassPath.extract", "0.5")
def extractClasspath(classLoader: ClassLoader, default: => String): String
Deprecated

Inherited methods

def config(kvs: KeyValue*): MeasureBuilder[Unit, Double]
Inherited from
MeasureBuilder
def measure[S](b: => S): Quantity[Double]
Inherited from
MeasureBuilder
def measureWith[S](b: Unit => S): Quantity[Double]
Inherited from
MeasureBuilder
def measured[S](b: => S): (S, Quantity[Double])
Inherited from
MeasureBuilder
def measuredWith[S](b: Unit => S): (S, Quantity[Double])
Inherited from
MeasureBuilder
def setUp(b: Unit => Unit): MeasureBuilder[Unit, Double]
Inherited from
MeasureBuilder
def tearDown(b: Unit => Unit): MeasureBuilder[Unit, Double]
Inherited from
MeasureBuilder
def withMeasurer[V](m: Measurer[V], a: Seq[Quantity[V]] => Quantity[V]): MeasureBuilder[Unit, V]
Inherited from
MeasureBuilder
def withMeasurer(m: Measurer[Double]): MeasureBuilder[Unit, Double]
Inherited from
MeasureBuilder
def withWarmer(w: Warmer): MeasureBuilder[Unit, Double]
Inherited from
MeasureBuilder

Inherited fields

val ctx: Context
Inherited from
MeasureBuilder
val measurer: Measurer[Double]
Inherited from
MeasureBuilder
val regen: () => Unit
Inherited from
MeasureBuilder
val resultFunction: Seq[Quantity[Double]] => Quantity[Double]
Inherited from
MeasureBuilder
val setup: Unit => Unit
Inherited from
MeasureBuilder
val teardown: Unit => Unit
Inherited from
MeasureBuilder
Inherited from
MeasureBuilder