measure method
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,
]);