Object/Trait

org.scalameter

Measurer

Related Docs: trait Measurer | package scalameter

Permalink

object Measurer extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Measurer
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AbsoluteNoise extends Noise

    Permalink

    A mixin measurer which adds an absolute amount of Gaussian noise to the measurement.

    A mixin measurer which adds an absolute amount of Gaussian noise to the measurement.

    A random value is sampled from a Gaussian distribution for each measurement x. This value is then multiplied with Key.noiseMagnitude and added to the measurement. The default value for the noise magnitude is 0.0 - it has to be set manually for tests requiring artificial noise. The resulting value is clamped into the range x - magnitude, x + magnitude.

    $noise

  2. abstract class BaseMemoryFootprint extends Measurer[Double]

    Permalink
  3. case class BoxingCount(primitives: Class[_ >: Primitive]*) extends InvocationCount with Product with Serializable

    Permalink

    Counts autoboxed by a Scala compiler values.

    Counts autoboxed by a Scala compiler values.

    primitives

    primitive types whose autoboxing will be counted.

  4. class Default extends Timer with IterationBasedValue

    Permalink

    A default measurer executes the test as many times as specified and returns the sequence of measured times.

  5. class GarbageCollectionCycles extends Measurer[Int]

    Permalink
  6. class IgnoringGC extends Timer with IterationBasedValue

    Permalink

    A measurer that discards measurements during which it detects GC cycles.

    A measurer that discards measurements during which it detects GC cycles.

    Assume that M measurements are requested. To prevent looping forever, after the number of measurement failed due to GC exceeds the number of successful measurements by more than M, the subsequent measurements are accepted regardless of whether GC cycles occur.

  7. trait IterationBasedValue extends AnyRef

    Permalink

    Mixin for measurers whose benchmarked value is based on the current iteration.

  8. class MemoryFootprint extends BaseMemoryFootprint with OutlierElimination[Double]

    Permalink

    Measures the total memory footprint of an object created by the benchmarking snippet.

    Measures the total memory footprint of an object created by the benchmarking snippet.

    Eliminates outliers.

  9. case class MethodInvocationCount(matcher: InvocationCountMatcher) extends InvocationCount with Product with Serializable

    Permalink

    Counts invocations of arbitrary method(s) specified by org.scalameter.execution.invocation.InvocationCountMatcher.

  10. trait Noise extends Measurer[Double]

    Permalink

    A measurer which adds noise to the measurement.

  11. trait OutlierElimination[V] extends Measurer[V]

    Permalink

    A mixin measurer which detects outliers (due to an undetected GC or JIT) and requests additional measurements to replace them.

    A mixin measurer which detects outliers (due to an undetected GC or JIT) and requests additional measurements to replace them. Outlier elimination can also eliminate some pretty bad allocation patterns in some cases. Only outliers from above are considered.

    When detecting an outlier, up to Key.exec.outliers.suspectPercent% (with a minimum of 1) of worst times will be considered. For example, given Key.exec.outliers.suspectPercent = 25 the times:

    10, 11, 10, 12, 11, 11, 10, 11, 44

    times 12 and 44 are considered for outlier elimination.

    Given the times:

    10, 12, 14, 55

    the time 55 will be considered for outlier elimination.

    A potential outlier (suffix) is removed if removing it increases the coefficient of variance by at least Key.exec.outliers.covMultiplier times.

  12. trait PeriodicReinstantiation[V] extends Measurer[V] with IterationBasedValue

    Permalink

    A mixin measurer which causes the value for the benchmark to be reinstantiated every Key.exec.reinstantiation.frequency measurements.

    A mixin measurer which causes the value for the benchmark to be reinstantiated every Key.exec.reinstantiation.frequency measurements. Before the new value has been instantiated, a full GC cycle is invoked if Key.exec.reinstantiation.fullGC is true.

  13. type Primitive = Boolean with Char with Byte with Short with Int with Long with Float with Double

    Permalink
  14. trait RelativeNoise extends Noise

    Permalink

    A mixin measurer which adds an amount of Gaussian noise to the measurement relative to its mean.

    A mixin measurer which adds an amount of Gaussian noise to the measurement relative to its mean.

    An observations sequence mean m is computed. A random Gaussian value is sampled for each measurement x in the observations sequence. It is multiplied with m / 10.0 times Key.noiseMagnitude (default 0.0). Call this multiplication factor f. The resulting value is clamped into the range x - f, x + f.

    The bottomline is - a 1.0 noise magnitude is a variation of 10% of the mean.

    $noise

  15. trait Timer extends Measurer[Double]

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object BoxingCount extends Serializable

    Permalink
  5. object Default extends Serializable

    Permalink
  6. def None[V]: Measurer[V]

    Permalink

    Measurer that measures nothing.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped