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

Usage in Deno

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

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

Parameters

optional
name: string

Return Type

void