Module

x/evt/lib/index.ts

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.PerfWidgetExternal
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/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