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

Usage in Deno

```typescript import { type Performance } from "node:node__perf_hooks.d.ts"; ```
Performance.clearResourceTimings(name?: string): void
If `name` is not provided, removes all `PerformanceResourceTiming` objects from the Resource Timeline. If `name` is provided, removes only the named resource.

Parameters

optional
name: string

Return Type

void