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

Usage in Deno

```typescript import { type Performance } from "node:node__perf_hooks.d.ts"; ```
Performance.getEntries(): PerformanceEntry[]
Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime`. If you are only interested in performance entries of certain types or that have certain names, see `performance.getEntriesByType()` and `performance.getEntriesByName()`.

Return Type