When performanceEntry.entryType
is equal to 'gc', the performance.flags
property contains additional information about garbage collection operation. See perf_hooks.constants for valid values.
interface
perf_hooks.NodeGCPerformanceDetail
interface NodeGCPerformanceDetail
- readonly flags?: number
- readonly kind?: number
When
performanceEntry.entryType
is equal to 'gc', theperformance.kind
property identifies the type of garbage collection operation that occurred. See perf_hooks.constants for valid values.