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

Usage in Deno

import { type Performance } from "node:perf_hooks";
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