mark method
Records a performance mark, which is a time value associated with a name.
![]() |
Syntax
var retval = performance.mark(markName);Parameters
- markName [in]
-
Type: DOMString
Name associated with the performance mark.
Return value
Type: HRESULT
This method can return one of these values.
- S_OK
Standards information
Remarks
Names for custom performance marks cannot duplicate the names of built-in performance marks.
When mark names are reused, the previous timing values are replaced by the later timing values.
See also
Show:
