Skip to main content
Performance.clearMarks - perf_hooks - Node documentation
method Performance.clearMarks

Usage in Deno

import { type Performance } from "node:perf_hooks";
Performance.clearMarks(name?: string): void

If name is not provided, removes all PerformanceMark objects from the Performance Timeline. If name is provided, removes only the named mark.

Parameters

optional
name: string

Return Type

void