Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.PerformanceResourceTiming

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.PerformanceResourceTiming
implements PerformanceEntry
import { type dom } from "https://deno.land/x/evt@v2.4.18/lib/types/index.ts";
const { PerformanceResourceTiming } = dom;

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, , image, or script.

Properties

readonly
connectEnd: number
readonly
connectStart: number
readonly
decodedBodySize: number
readonly
domainLookupEnd: number
readonly
domainLookupStart: number
readonly
encodedBodySize: number
readonly
fetchStart: number
readonly
initiatorType: string
readonly
nextHopProtocol: string
readonly
redirectEnd: number
readonly
redirectStart: number
readonly
requestStart: number
readonly
responseEnd: number
readonly
responseStart: number
readonly
secureConnectionStart: number
readonly
transferSize: number
readonly
workerStart: number

Methods

toJSON(): any