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

Usage in Deno

import { type Performance } from "node:perf_hooks";
Performance.setResourceTimingBufferSize(maxSize: number): void

Sets the global performance resource timing buffer size to the specified number of "resource" type performance entry objects.

By default the max buffer size is set to 250.

Parameters

maxSize: number

Return Type

void