Files
node/doc/api
James M Snell 97af3d7da5 perf_hooks: add performanceNodeTiming.uvMetricsInfoBigInt
`performance.nodeTiming.uvMetricsInfo` returns the libuv event loop
metrics as numbers, which are only exact up to
`Number.MAX_SAFE_INTEGER`. Add `uvMetricsInfoBigInt`, which returns
the same metrics as bigints backed by `uint64_t` storage, carrying the
full 64-bit range reported by libuv.

A single native call fills both a `Float64Array` and a
`BigUint64Array`, so `uvMetricsInfo` does not pay for bigint
allocation and conversion. The new property is omitted from
`toJSON()`, as `JSON.stringify()` cannot serialize bigints.

Assisted-by: OpenCode
Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/66094
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2026-09-19 22:02:10 +00:00
..
2026-09-16 20:13:19 +02:00
2026-09-19 05:21:30 +00:00
2026-09-16 22:22:28 +00:00
2026-09-03 11:40:52 +02:00
2026-09-16 20:13:19 +02:00
2026-09-19 14:15:17 +00:00
2026-09-16 20:13:19 +02:00
2026-09-03 15:37:21 +00:00
2025-12-16 20:31:28 +00:00
2026-08-22 03:49:24 +00:00
2026-09-11 13:15:27 -04:00
2026-08-03 11:44:23 +00:00
2026-09-09 18:04:31 +02:00
2026-09-15 02:31:45 +00:00
2026-09-16 20:13:19 +02:00
2026-09-11 14:57:08 +00:00