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.ns.d.ts>PerformanceMeasureOptions

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface PerformanceMeasureOptions
import { type PerformanceMeasureOptions } from "https://deno.land/x/deno@v1.28.1/cli/dts/lib.deno.ns.d.ts";

Options which are used in conjunction with performance.measure. Check out the MDN performance.mark() documentation for more details.

Properties

optional
detail: any

Metadata to be included in the measure.

optional
start: string | number

Timestamp to be used as the start time or string to be used as start mark.

optional
duration: number

Duration between the start and end times.

optional
end: string | number

Timestamp to be used as the end time or string to be used as end mark.