performanceNodeEntry.kind
稳定性: 0 - 已弃用:改用
performanceNodeEntry.detail
。¥Stability: 0 - Deprecated: Use performanceNodeEntry.detail
instead.
当 performanceEntry.entryType
等于 'gc'
时,则 performance.kind
属性标识发生的垃圾收集操作的类型。该值可能是以下之一:
¥When performanceEntry.entryType
is equal to 'gc'
, the performance.kind
property identifies the type of garbage collection operation that occurred.
The value may be one of:
-
perf_hooks.constants.NODE_PERFORMANCE_GC_MAJOR
-
perf_hooks.constants.NODE_PERFORMANCE_GC_MINOR
-
perf_hooks.constants.NODE_PERFORMANCE_GC_INCREMENTAL
-
perf_hooks.constants.NODE_PERFORMANCE_GC_WEAKCB