getMeasures method

Returns performance measures and their associated duration values.

Internet Explorer 10

Syntax

var retVal = performance.getMeasures(measureName);

Parameters

measureName [in, optional]

Type: DOMString

Name of measure(s) to return.

retVal [out, retval]

Type: any

An array of performance measure names and their associated timings.

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. All rights reserved.