getEntriesByType method

Returns an array of selected PerformanceEntry objects in chronological order, based on startTime.

Internet Explorer 10

 

Syntax

var retVal = performance.getEntriesByType(entryType);

Parameters

entryType [in, optional]

Type: DOMString

The type of recorded events to be returned.

ValueMeaning
mark

Return PerformanceMark events

measure

Return PerformanceMeasure events.

navigation

Return performanceNavigation timing events.

resource

Return PerformanceResourceTiming events.

 

retVal [out, retval]

Type: any

A PerformanceEntryList object, which is an array containing PerformanceEntry objects matching the values specified in the input parameters.

Return value

Type: any

A PerformanceEntryList object, which is an array containing PerformanceEntry objects matching the values specified in the input parameters.

Standards information

See also

performance
getEntries
getEntriesByName

 

 

Show: