Packages

class MeasurementExecutor extends AnyRef

Class to execute measurements.

Parameters need to be java types because it is called from a class loader that is executed in a scala 2.10 context because of sbt. This code is run in scala 2.11. Since the versions are not bytecode compatible, the parameters must be passed as java objects.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MeasurementExecutor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MeasurementExecutor(projectCpList: List[File])

    projectCpList

    A list of classpaths to look for spec.PerfSpec derived classes.

Type Members

  1. type MeasurementMap = Map[String, Iterable[MeasurementResult]]

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cleanMeasurement(perfClass: String): Unit

    Remove the measurement for the given class from the file specified in MeasurementExecutor.PerfFile.

    Remove the measurement for the given class from the file specified in MeasurementExecutor.PerfFile. All other measurements will be saved.

    perfClass

    The class name of the measurement to remove.

    Note

    The MeasurementExecutor.PerfFile will be removed if no more measurements are present.

  6. def cleanMeasurements(): Unit

    Delete all previous performance measurements.

    Delete all previous performance measurements.

    Note

    This removes the file specified in MeasurementExecutor.PerfFile from the hard disk.

  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. var defaultMemoryThresholdError: Double
  9. var defaultMemoryThresholdWarning: Double
  10. var defaultRuntimeThresholdError: Double
  11. var defaultRuntimeThresholdWarning: Double
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. var logger: Logger
  19. def measureAll(): Boolean

    Measure all classes found in the classpath provided by the contructor parameter.

    Measure all classes found in the classpath provided by the contructor parameter.

    returns

    true if the measurement were executed successfully without any errors or warning and the results are saved in the file specified in MeasurementExecutor.PerfFile. false is returned if one or more warnings were issued. In this case, the measurements aren't saved.

  20. def measureOnly(measureClass: String): Boolean

    Measure one class.

    Measure one class.

    measureClass

    The name of the class to be measured.

    returns

    true if the measurement were executed successfully without any errors or warning and the results are saved in the file specified in MeasurementExecutor.PerfFile. false is returned if one or more warnings were issued. In this case, the measurements aren't saved.

  21. def memoryExceedsErrorThreshold(r: PerfComparison): Boolean

    Checks if the difference between the previous memory usage and the current one exceeds the error threshold.

    Checks if the difference between the previous memory usage and the current one exceeds the error threshold.

    r

    A runtime comparison object containing the previous and current memory usage.

    returns

    true if the difference exceeds the thresholdError, false if the differences is smaller than the threshold.

  22. def memoryExceedsWarningThreshold(r: PerfComparison): Boolean

    Checks if the difference between the previous memory usage and the current one exceeds the warning threshold.

    Checks if the difference between the previous memory usage and the current one exceeds the warning threshold.

    r

    A runtime comparison object containing the previous and current memory usage.

    returns

    true if the difference exceeds the thresholdWarning, false if the differences is smaller than the threshold.

  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. var runMemoryMeasurements: Boolean

    Measure the memory consumption of all measurements to be executed

  27. var runRuntimeMeasurements: Boolean

    Measure the runtime of all measurements to be executed

  28. def runtimeExceedsErrorThreshold(r: PerfComparison): Boolean

    Checks if the difference between the previous runtime and the current one exceeds the error threshold.

    Checks if the difference between the previous runtime and the current one exceeds the error threshold.

    r

    A runtime comparison object containing the previous and current runtimes.

    returns

    true if the difference exceeds the thresholdError, false if the differences is smaller than the threshold.

  29. def runtimeExceedsWarningThreshold(r: PerfComparison): Boolean

    Checks if the difference between the previous runtime and the current one exceeds the warning threshold and is smaller than the error threshold.

    Checks if the difference between the previous runtime and the current one exceeds the warning threshold and is smaller than the error threshold.

    r

    A runtime comparison object containing the previous and current runtimes.

    returns

    true if the difference exceeds the thresholdWarning and is smaller than the errorThreshold, false if the differences is smaller than the threshold or larger than the errorThreshold.

  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. var updateMeasurements: Boolean

    Update measurements in .perf file if a measurement file already exist

  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped