c

org.scalameter.Measurer

MemoryFootprint

class MemoryFootprint extends BaseMemoryFootprint with OutlierElimination[Double]

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

Eliminates outliers.

Linear Supertypes
OutlierElimination[Double], BaseMemoryFootprint, Measurer[Double], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MemoryFootprint
  2. OutlierElimination
  3. BaseMemoryFootprint
  4. Measurer
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MemoryFootprint()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def afterExecution(context: Context): Unit

    Does some final cleanup after execution of all benchmarks in a performance test.

    Does some final cleanup after execution of all benchmarks in a performance test.

    This method is invoked in the PerformanceTest executeTests method just after execution of all benchmarks.

    Most measurers do not need to do any side effects in beforeExecution, so the default implementation just does nothing.

    Definition Classes
    Measurer
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def beforeExecution(context: Context): Unit

    Does some side effects before execution of all benchmarks in a performance test.

    Does some side effects before execution of all benchmarks in a performance test.

    This method is invoked in the PerformanceTest executeTests method just before execution of any benchmarks.

    Most measurers do not need add additional context keys in prepareContext, so the default implementation just does nothing.

    Definition Classes
    Measurer
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def covMultiplierModifier: Double
    Definition Classes
    OutlierElimination
  9. def eliminateLow: Boolean
    Definition Classes
    MemoryFootprintOutlierElimination
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def map[U](f: (Quantity[Double]) => Quantity[U]): Measurer[U]
    Definition Classes
    Measurer
  17. def measure[T](context: Context, measurements: Int, setup: (T) => Any, tear: (T) => Any, regen: () => T, snippet: (T) => Any): Seq[Quantity[Double]]
    Definition Classes
    OutlierEliminationMeasurer
  18. def name: String
    Definition Classes
    OutlierEliminationMeasurer
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def numeric: Numeric[Double]
    Definition Classes
    MemoryFootprintOutlierElimination
  23. def prepareContext(context: Context): Context

    Modifies the initial test context.

    Modifies the initial test context.

    This method is invoked before the PerformanceTest object's ctor is invoked. The key-value pairs that the org.scalameter.Measurer adds to the org.scalameter.Context in this method are visible to all the test snippets within the PerformanceTest class.

    Most measurers do not need to add any specific keys, so the default implementation just returns the context.

    Definition Classes
    Measurer
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def usesInstrumentedClasspath: Boolean

    Indicates if a measurer uses instrumented classpath - if true measurer must be run using an executor that spawns separate JVMs.

    Indicates if a measurer uses instrumented classpath - if true measurer must be run using an executor that spawns separate JVMs.

    Definition Classes
    Measurer
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from OutlierElimination[Double]

Inherited from BaseMemoryFootprint

Inherited from Measurer[Double]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped