From 39d64a0ca463a4d846c1d4c47923a5c1cd42f2bc 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 --- 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