Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/dts/lib.deno.shared_globals.d.ts>Performance#measure

A modern runtime for JavaScript and TypeScript.
Go to Latest
method Performance.prototype.measure
import { Performance } from "https://deno.land/x/deno@v1.28.1/cli/dts/lib.deno.shared_globals.d.ts";

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

Parameters

measureName: string
optional
options: PerformanceMeasureOptions

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

Parameters

measureName: string
optional
startMark: string
optional
endMark: string