Skip to main content
Performance.clearMeasures - node__perf_hooks.d.ts - Node documentation
method Performance.clearMeasures

Usage in Deno

```typescript import { type Performance } from "node:node__perf_hooks.d.ts"; ```
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