Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Network.ResourceTiming
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { ResourceTiming } = Protocol.Network;

Timing information for the request.

Properties

requestTime: number

Timing's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime.

proxyStart: number

Started resolving proxy.

proxyEnd: number

Finished resolving proxy.

dnsStart: number

Started DNS address resolve.

dnsEnd: number

Finished DNS address resolve.

connectStart: number

Started connecting to the remote host.

connectEnd: number

Connected to the remote host.

sslStart: number

Started SSL handshake.

sslEnd: number

Finished SSL handshake.

workerStart: number

Started running ServiceWorker.

workerReady: number

Finished Starting ServiceWorker.

workerFetchStart: number

Started fetch event.

workerRespondWithSettled: number

Settled fetch event respondWith promise.

sendStart: number

Started sending request.

sendEnd: number

Finished sending request.

pushStart: number

Time the server started pushing request.

pushEnd: number

Time the server finished pushing request.

receiveHeadersEnd: number

Finished receiving response headers.