Skip to content
Commit Detail

Commit e6cc33f

Author
Pete Bacon Darwin <pbacondarwin@cloudflare.com> 2026-02-27 17:30:52 +0000
Parents
273e1d7
Tree
860f0cd
Enable global Performance classes when perf_hooks module is enabled

The enableNodeJsPerfHooksModule flag now implicitly enables the global
Performance constructor classes (Performance, PerformanceEntry,
PerformanceMark, PerformanceMeasure, PerformanceResourceTiming,
PerformanceObserver, PerformanceObserverEntryList) without requiring
the separate enableGlobalPerformanceClasses flag.

Updated the perf_hooks test to no longer require the
enable_global_performance_classes flag, and documented the
relationship in compatibility-date.capnp.

Files changed