Summary
The property performance.nodeTiming.uvMetricsInfo seems to be undefined in Deno, when instead it should be a wrapper to the uv_metrics_info function.
Version
deno 2.5.4 (stable, release, x86_64-unknown-linux-gnu)
v8 14.0.365.5-rusty
typescript 5.9.2
OS
Linux Mint 22 Wilma
Steps to reproduce
- Create file
test.mjs with the following content:
import { performance } from 'node:perf_hooks';
setImmediate(() => {
console.log(performance.nodeTiming.uvMetricsInfo);
});
- Run file
deno test.mjs.
Expected Behaviour
{ loopCount: 1, events: 0, eventsWaiting: 0 }
Actual Behaviour
undefined