method Performance.getEntriesByName
Usage
import { type Performance } from "node:perf_hooks";
Returns a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime
whose performanceEntry.name is equal to name, and optionally, whose performanceEntry.entryType is equal to type.
optional
type: EntryType