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

Usage in Deno

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

Back to top