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

x/deno/cli/tsc/dts/lib.deno.shared_globals.d.ts>PerformanceMark

A modern runtime for JavaScript and TypeScript.
Go to Latest
class PerformanceMark
import { PerformanceMark } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.deno.shared_globals.d.ts";

PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the performance timeline.

Constructors

new
PerformanceMark(name: string, options?: PerformanceMarkOptions)

Properties

readonly
detail: any
readonly
entryType: "mark"