measure method

PerformanceMeasure measure(
  1. String measureName, [
  2. JSAny startOrMeasureOptions,
  3. String endMark
])

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

When measuring between two marks, there is a start mark and end mark, respectively. The named timestamp is referred to as a measure.

Implementation

external PerformanceMeasure measure(
  String measureName, [
  JSAny startOrMeasureOptions,
  String endMark,
]);