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

Usage in Deno

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