measure method
Records a performance measure, which is the duration of time between two performance marks.
![]() |
Syntax
var retval = performance.measure(measureName, startMarkName, endMarkName);Parameters
- measureName [in]
-
Type: DOMString
Name associated with the performance measure.
- startMarkName [in, optional]
-
Type: DOMString
Name of the first (earlier) performance mark.
- endMarkName [in, optional]
-
Type: DOMString
Name of the second (later) performance mark.
Return value
Type: HRESULT
This method can return one of these values.
- S_OK
Standards information
See also
Show:
