Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 863 Bytes

File metadata and controls

18 lines (14 loc) · 863 Bytes
_build
publishResources render list
false
never
never
name Enable `node:perf_hooks` module
sort_date 2026-03-17
enable_date 2026-03-17
enable_flag enable_nodejs_perf_hooks_module
disable_flag disable_nodejs_perf_hooks_module

The enable_nodejs_perf_hooks_module flag enables the node:perf_hooks module in Workers. This flag also implicitly enables global Performance classes (PerformanceEntry, PerformanceMark, PerformanceMeasure, PerformanceResourceTiming, PerformanceObserver, and PerformanceObserverEntryList).

This flag is automatically enabled for Workers using a compatibility date of 2026-03-17 or later when nodejs_compat is enabled.

See the Node.js documentation for more details about the node:perf_hooks API.