The measure() method creates a named timestamp in the browser's performance entry buffer between two specified marks (known as the start mark and end mark, respectively).
The measure() method creates a named timestamp in the browser's performance entry buffer between two specified marks (known as the start mark and end mark, respectively). The named timestamp is referred to as a measure.
The measure can be retrieved by one of the Performance interface's getEntries*() methods (getEntries(), getEntriesByName() or getEntriesByType()).
A DOMString representing the name of the measure.
A DOMString representing the name of the measure's starting mark. May also be the name of a PerformanceTiming property.
A DOMString representing the name of the measure's ending mark. May also be the name of a PerformanceTiming property.
a DOMHighResTimeStamp, measured in milliseconds, accurate to one thousandth of a millisecond.