Skip to content

Commit

Permalink
doc: mention unit for event loop delay measurements
Browse files Browse the repository at this point in the history
PR-URL: #28629
Reviewed-By: Ben Coe <bencoe@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
jkrems authored and targos committed Jul 20, 2019
1 parent ac9908f commit 0aca527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0aca527

Please sign in to comment.