Skip to content
Commit Detail

Commit e480f88

Author
Pete Bacon Darwin <pbacondarwin@cloudflare.com> 2026-02-19 11:12:00 +0000
Parents
7108c5a
Tree
bd29993
fix(perf_hooks): use instance properties and add uvMetricsInfo

Address PR review feedback:
- Change PerformanceNodeTiming properties from prototype to instance
  properties to match Node.js behavior where Reflect.ownKeys() includes
  all properties as own properties
- Add missing uvMetricsInfo property that returns libuv event loop
  metrics (stub values since actual metrics aren't available in workerd)
- Update toJSON() to include uvMetricsInfo in the output
- Regenerate TypeScript definitions

Files changed