Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface PerformanceTiming
Deprecated
Deprecated

This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.

import { type PerformanceTiming } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";

A legacy interface kept for backwards compatibility and contains properties that offer performance timing information for various events which occur during the loading and use of the current page. You get a PerformanceTiming object describing your page using the window.performance.timing property.

Properties

readonly
deprecated
connectEnd: number
readonly
deprecated
connectStart: number
readonly
deprecated
domComplete: number
readonly
deprecated
domContentLoadedEventEnd: number
readonly
deprecated
domContentLoadedEventStart: number
readonly
deprecated
domInteractive: number
readonly
deprecated
domLoading: number
readonly
deprecated
domainLookupEnd: number
readonly
deprecated
domainLookupStart: number
readonly
deprecated
fetchStart: number
readonly
deprecated
loadEventEnd: number
readonly
deprecated
loadEventStart: number
readonly
deprecated
navigationStart: number
readonly
deprecated
redirectEnd: number
readonly
deprecated
redirectStart: number
readonly
deprecated
requestStart: number
readonly
deprecated
responseEnd: number
readonly
deprecated
responseStart: number
readonly
deprecated
secureConnectionStart: number
readonly
deprecated
unloadEventEnd: number
readonly
deprecated
unloadEventStart: number

Methods

deprecated
toJSON(): any