Performance.clearMarks - Node documentation
method Performance.clearMarks

Usage

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

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