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

Usage in Deno

```typescript import { type Performance } from "node:node__perf_hooks.d.ts"; ```
Performance.getEntriesByType(type: EntryType): PerformanceEntry[]
Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime` whose `performanceEntry.entryType` is equal to `type`.

Parameters

type: EntryType

Return Type