getMeasures method

Returns performance measures and their associated duration values.

Syntax

var retVal = performance.getMeasures(measureName);

Parameters

measureName [in, optional]

Type: DOMString

Name of measure(s) to return.

Return value

Type: any

An array of performance measure names and their associated timings.

Standards information

Remarks

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

See also

performance

 

 

Show:
© 2014 Microsoft