performanceNodeEntry.flags


版本历史
版本变更
v16.0.0

运行时已弃用。当 entryType 为 'gc' 时,现在移至 detail 属性。

v13.9.0, v12.17.0

新增于: v13.9.0, v12.17.0

稳定性: 0 - 已弃用:改用 performanceNodeEntry.detail

\Stability: 0 - Deprecated: Use performanceNodeEntry.detail instead.

performanceEntry.entryType 等于 'gc' 时,则 performance.flags 属性包含有关垃圾收集操作的附加信息。该值可能是以下之一:

\When performanceEntry.entryType is equal to 'gc', the performance.flags property contains additional information about garbage collection operation. The value may be one of:

  • perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_NO

  • perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED

  • perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_FORCED

  • perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING

  • perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE

  • perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY

  • perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE

AltStyle によって変換されたページ (->オリジナル) /