mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
Add a samplePerIteration option to monitorEventLoopDelay that records event loop delay from libuv event loop iterations instead of the timer interval sampler. The default remains interval-based; existing uses of monitorEventLoopDelay() keep behaving the same unless the samplePerIteration option is passed through. Signed-off-by: Pablo Erhard <pablo.erhardhernandez@datadoghq.com> PR-URL: https://github.com/nodejs/node/pull/62935 Backport-PR-URL: https://github.com/nodejs/node/pull/64480 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>