Provides detailed network timing data regarding the loading of an application's resources.
The constructor of this class is not exposed to users directly.
Constructors Jump to heading
Jump to headingPerformanceResourceTiming()Properties Jump to heading
Jump to headingconnectEnd: numberThe high resolution millisecond timestamp representing the time immediately after Node.js finishes establishing the connection to the server to retrieve the resource.
Jump to headingconnectStart: numberThe high resolution millisecond timestamp representing the time immediately before Node.js starts to establish the connection to the server to retrieve the resource.
Jump to headingdecodedBodySize: numberA number representing the size (in octets) received from the fetch (HTTP or cache), of the message body, after removing any applied content-codings.
Jump to headingdomainLookupEnd: numberThe high resolution millisecond timestamp representing the time immediately after the Node.js finished the domain name lookup for the resource.
Jump to headingdomainLookupStart: numberThe high resolution millisecond timestamp immediately before the Node.js starts the domain name lookup for the resource.
Jump to headingencodedBodySize: numberA number representing the size (in octets) received from the fetch (HTTP or cache), of the payload body, before removing any applied content-codings.
Jump to headingentryType: "resource"Jump to headingfetchStart: numberThe high resolution millisecond timestamp immediately before the Node.js starts to fetch the resource.
Jump to headingredirectEnd: numberThe high resolution millisecond timestamp that will be created immediately after receiving the last byte of the response of the last redirect.
Jump to headingredirectStart: numberThe high resolution millisecond timestamp that represents the start time of the fetch which initiates the redirect.
Jump to headingrequestStart: numberThe high resolution millisecond timestamp representing the time immediately before Node.js receives the first byte of the response from the server.
Jump to headingresponseEnd: numberThe high resolution millisecond timestamp representing the time immediately after Node.js receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first.
Jump to headingsecureConnectionStart: numberThe high resolution millisecond timestamp representing the time immediately before Node.js starts the handshake process to secure the current connection.
Jump to headingtransferSize: numberA number representing the size (in octets) of the fetched resource. The size includes the response header fields plus the response payload body.
Jump to headingworkerStart: numberThe high resolution millisecond timestamp at immediately before dispatching the fetch
request. If the resource is not intercepted by a worker the property will always return 0.
Methods Jump to heading
Jump to headingtoJSON(): anyReturns a object that is the JSON representation of the PerformanceResourceTiming object