Packages

package perf

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class MeasurementExecutor extends AnyRef

    Class to execute measurements.

    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.

  2. case class MeasurementResult(measurementName: String, consideredExecutionTimes: Seq[Long], memoryUsage: Long, runtimeWarningThreshold: RuntimeWarningThreshold, runtimeErrorThreshold: RuntimeErrorThreshold, memoryWarningThreshold: MemoryWarningThreshold, memoryErrorThreshold: MemoryErrorThreshold) extends Product with Serializable

    Class containing the execution time of each measurement run of a measurement.

    Class containing the execution time of each measurement run of a measurement.

    measurementName

    The name of the measurement

    consideredExecutionTimes

    The runtimes considered for the measurements.

    memoryUsage

    The amount of bytes the computed object graph uses or -1 if memory measurement was disabled.

    runtimeWarningThreshold

    A threshold when to write a warning on runtime measurements.

    runtimeErrorThreshold

    A threshold when to throw an exception on runtime measurements.

    memoryWarningThreshold

    A threshold when to write a warning on memory measurements.

    memoryErrorThreshold

    A threshold when to throw an exception on memory measurements.

  3. final case class MemoryErrorThreshold(t: Double) extends AnyVal with Product with Serializable

    Threshold when to throw an error exception on memory comparison.

  4. final case class MemoryWarningThreshold(t: Double) extends AnyVal with Product with Serializable

    Threshold when to print a warning on memory comparison.

  5. case class PerfComparison(className: String, measurementName: String, currentMeasurement: MeasurementResult, previousMeasurement: MeasurementResult) extends Product with Serializable

    Class that contains information about the current and previous runtime of a single measurement.

    Class that contains information about the current and previous runtime of a single measurement. If the measurement is executed the first time, previousRuntime is 0.

    className

    The class where the measurement is implemented in.

    measurementName

    The name of the measurement.

    currentMeasurement

    The current runtime in ns.

    previousMeasurement

    The runtime of the previous execution in ns.

  6. class PerfSpecRunner extends AnyRef

    Class to run all measurements inside a PerfSpec class

  7. final case class RuntimeErrorThreshold(t: Double) extends AnyVal with Product with Serializable

    Threshold when to throw an error exception on runtime comparison.

  8. final case class RuntimeWarningThreshold(t: Double) extends AnyVal with Product with Serializable

    Threshold when to print a warning on runtime comparison.

Value Members

  1. object Main

    Main object for PerfSpec.

  2. object MeasurementExecutor

    Define factory methods and constants for MeasurementExecutor.

  3. object MeasurementResult extends Serializable

    Companion object for MeasurementResult.

  4. object MemoryErrorThreshold extends Serializable
  5. object MemoryWarningThreshold extends Serializable
  6. object PerfSpecRunner

    Factory for PerfSpecRunner instances.

  7. object RuntimeErrorThreshold extends Serializable
  8. object RuntimeWarningThreshold extends Serializable
  9. object Utils

Ungrouped