MeasurementHolder

open class MeasurementHolder @JvmOverloads constructor(c: Class<*>, val message: String, debug: Boolean = false, holder: StatisticsHolder? = null)

Represents some kind of measurements, e.g., on the performance or problems.

Constructors

Link copied to clipboard
fun MeasurementHolder(c: Class<*>, message: String, debug: Boolean = false, holder: StatisticsHolder? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun addMeasurement(measurementKey: String? = null, measurementValue: String? = null): Any?

Adds a measurement for the respective benchmark and saves it to the map.

Link copied to clipboard

Properties

Link copied to clipboard

Returns a list of strings which summarize the insights gained by the benchmark. The first item of the list is the key, the second one is the value.

Link copied to clipboard
Link copied to clipboard

Stores the values measured by the benchmark

Link copied to clipboard

A string indicating what this benchmark should measure.

Inheritors

Link copied to clipboard