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

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

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

Properties

readonly
activeNetworkRequestCount: number
readonly
averageFrameTime: number
readonly
averagePaintTime: number
readonly
extraInformationEnabled: boolean
readonly
independentRenderingEnabled: boolean
readonly
irDisablingContentString: string
readonly
irStatusAvailable: boolean
readonly
maxCpuSpeed: number
readonly
paintRequestsPerSecond: number
readonly
performanceCounter: number
readonly
performanceCounterFrequency: number

Methods

addEventListener(eventType: string, callback: Function): void
getMemoryUsage(): number
getProcessCpuUsage(): number
getRecentCpuUsage(last: number | null): any
getRecentFrames(last: number | null): any
getRecentMemoryUsage(last: number | null): any
getRecentPaintRequests(last: number | null): any
removeEventListener(eventType: string, callback: Function): void
repositionWindow(x: number, y: number): void
resizeWindow(width: number, height: number): void