package js.html
extends PerformanceEntry
extended by PerformanceNavigationTiming
Available on js
The PerformanceResourceTiming interface enables retrieval and analysis of 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 also:
read onlyconnectEnd:FloatA DOMHighResTimeStamp immediately after the browser finishes establishing the connection to the server to retrieve the resource.
read onlyconnectStart:FloatA DOMHighResTimeStamp immediately before the browser starts to establish the connection to the server to retrieve the resource.
read onlydecodedBodySize:IntA number that is the size (in octets) received from the fetch (HTTP or cache) of the message body, after removing any applied content-codings.
read onlydomainLookupEnd:FloatA DOMHighResTimeStamp representing the time immediately after the browser finishes the domain name lookup for the resource.
read onlydomainLookupStart:FloatA DOMHighResTimeStamp immediately before the browser starts the domain name lookup for the resource.
read onlyencodedBodySize:IntA number representing the size (in octets) received from the fetch (HTTP or cache), of the payload body, before removing any applied content-codings.
read onlyfetchStart:FloatA DOMHighResTimeStamp immediately before the browser starts to fetch the resource.
read onlyinitiatorType:StringA DOMString representing the type of resource that initiated the performance entry, as specified in PerformanceResourceTiming.initiatorType.
read onlynextHopProtocol:StringA DOMString representing the network protocol used to fetch the resource, as identified by the ALPN Protocol ID (RFC7301).
read onlyredirectEnd:FloatA DOMHighResTimeStamp immediately after receiving the last byte of the response of the last redirect.
read onlyredirectStart:FloatA DOMHighResTimeStamp that represents the start time of the fetch which initiates the redirect.
read onlyrequestStart:FloatA DOMHighResTimeStamp immediately before the browser starts requesting the resource from the server.
read onlyresponseEnd:FloatA DOMHighResTimeStamp immediately after the browser receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first.
read onlyresponseStart:FloatA DOMHighResTimeStamp immediately after the browser receives the first byte of the response from the server.
read onlysecureConnectionStart:FloatA DOMHighResTimeStamp immediately before the browser starts the handshake process to secure the current connection.
read onlyserverTiming:Array<PerformanceServerTiming>An array of PerformanceServerTiming entries containing server timing metrics.
read onlytransferSize:IntA number representing the size (in octets) of the fetched resource. The size includes the response header fields plus the response payload body.
read onlyworkerStart:FloatReturns a DOMHighResTimeStamp immediately before dispatching the FetchEvent if a Service Worker thread is already running, or immediately before starting the Service Worker thread if it is not already running. If the resource is not intercepted by a Service Worker the property will always return 0.
toJSON():DynamicReturns a DOMString that is the JSON representation of the PerformanceResourceTiming object.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/PerformanceResourceTiming.html