measure

fun measure(measureName: String, startOrMeasureOptions: String = definedExternally, endMark: String = definedExternally): PerformanceMeasure(source)

The measure() method creates a named PerformanceMeasure object representing a time measurement between two marks in the browser's performance timeline.

MDN Reference


fun measure(measureName: String, startOrMeasureOptions: PerformanceMeasureOptions, endMark: String = definedExternally): PerformanceMeasure(source)