From 0aca52726397e5b503f70949eec867c06720a66f Mon Sep 17 00:00:00 2001 From: Jan Krems Date: Wed, 10 Jul 2019 13:20:43 -0700 Subject: [PATCH] doc: mention unit for event loop delay measurements PR-URL: https://github.com/nodejs/node/pull/28629 Reviewed-By: Ben Coe Reviewed-By: Colin Ihrig Reviewed-By: Anna Henningsen Reviewed-By: Gireesh Punathil Reviewed-By: Ruben Bridgewater --- doc/api/perf_hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index 007445ba056a27..ce72ba680aebd9 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -419,7 +419,7 @@ added: v11.10.0 * Returns: {Histogram} Creates a `Histogram` object that samples and reports the event loop delay -over time. +over time. The delays will be reported in nanoseconds. Using a timer to detect approximate event loop delay works because the execution of timers is tied specifically to the lifecycle of the libuv