Skip to content
Commit Detail

Commit 7108c5a

Author
Pete Bacon Darwin <pbacondarwin@cloudflare.com> 2026-02-18 20:59:31 +0000
Parents
0d724ec
Tree
8267ae5
refactor(perf_hooks): move nodeTiming to C++ Performance class

Per review feedback, moved nodeTiming from TypeScript Proxy wrapper to the
C++ Performance class. This makes nodeTiming available on globalThis.performance
when the enable_nodejs_perf_hooks_module flag is enabled.

Changes:
- Added PerformanceNodeTiming class extending PerformanceEntry in C++
- Added nodeTiming property to Performance class (conditional on flag)
- Removed Proxy wrapper from TypeScript, now simple re-export
- Updated type snapshots with new PerformanceNodeTiming interface

Files changed