Skip to main content
MeasureOptions - perf_hooks - Node documentation
interface MeasureOptions

Usage in Deno

import { type MeasureOptions } from "node:perf_hooks";

Properties

optional
detail: unknown | undefined

Additional optional detail to include with the mark.

optional
duration: number | undefined

Duration between start and end times.

optional
end:
number
| string
| undefined

Timestamp to be used as the end time, or a string identifying a previously recorded mark.

optional
start:
number
| string
| undefined

Timestamp to be used as the start time, or a string identifying a previously recorded mark.