method Performance.mark
Usage in Deno
import { type Performance } from "node:perf_hooks";
Performance.mark(name?: string,options?: MarkOptions,): PerformanceMark
Creates a new PerformanceMark entry in the Performance Timeline. A PerformanceMark is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'mark', and whose performanceEntry.duration is always 0. Performance marks are used to mark specific significant moments in the Performance Timeline.
optional
options: MarkOptions
The PerformanceMark entry that was created