The PerformanceResourceTiming interface enables retrieving and analyzing detailed network timing data regarding the loading of an application's resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest, SVG, image, or script.

Documentation PerformanceResourceTiming by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

Inherited Variables

Defined by PerformanceEntry

read onlyduration:Float

A DOMHighResTimeStamp representing the time value of the duration of the performance event.

read onlyentryType:String

A DOMString representing the type of performance metric such as "mark". See PerformanceEntry.entryType for a list of valid values.

read onlyname:String

A DOMString representing the name of a performance entry when the metric was created.

read onlystartTime:Float

A DOMHighResTimeStamp representing the starting time for the performance metric.

Inherited Methods