Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Performance

Deno supports user timing Level 3 (see: https://w3c.github.io/user-timing) which is not widely supported yet in other runtimes. These types are here so that these features are still available when using the Deno namespace in conjunction with other type libs, like dom.

interface Performance {
mark(markName: string, options?: PerformanceMarkOptions): PerformanceMark;
measure(measureName: string, options?: PerformanceMeasureOptions): PerformanceMeasure;
}

§Methods

§
mark(markName: string, options?: PerformanceMarkOptions): PerformanceMark
[src]

Stores a timestamp with the associated name (a "mark").

§
measure(measureName: string, options?: PerformanceMeasureOptions): PerformanceMeasure
[src]

Stores the DOMHighResTimeStamp duration between two marks along with the associated name (a "measure").