Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

getMarks method

Returns performance marks and their associated timing values.

Internet Explorer 10

 

Syntax

var retVal = performance.getMarks(markName);

Parameters

markName [in, optional]

Type: DOMString

Name of the mark(s) to return.

retVal [out, retval]

Type: any

An array of performance mark names and their associated timing values.

Return value

Type: any

An array of performance mark names and their associated timing values.

Standards information

Remarks

If a value for the markName parameter is specified, only marks matching that name are returned. If there are no marks with the specified name, this method returns an empty array.

See also

performance

 

 

Show:
© 2015 Microsoft