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. 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.
- Alphabetic
- By Inheritance
- PerfComparison
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PerfComparison(className: String, measurementName: String, currentMeasurement: MeasurementResult, previousMeasurement: MeasurementResult)
- 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.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val className: String
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val currentMeasurement: MeasurementResult
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val measurementName: String
-
def
memoryDiff: Double
Calculate the percentage diff between memory usage of two runs.
Calculate the percentage diff between memory usage of two runs.
- returns
The relative memory usage difference between the previous run and the current one. If the previous or current run has no memory usage, 0 is returned.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
percentDiff: Double
Calculate the percentage diff between the average previousRuntime and the average current runtime.
Calculate the percentage diff between the average previousRuntime and the average current runtime.
- returns
The relative performance difference between the previous measurement and the current one.
- val previousMeasurement: MeasurementResult
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )