Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update doc/api/perf_hooks.md
Co-Authored-By: Sam Roberts <vieuxtech@gmail.com>
  • Loading branch information
indutny and sam-github authored Mar 4, 2020
commit 5fbad01d26baca24cdc1fe23a23508059db53472
2 changes: 1 addition & 1 deletion doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ over time. The delays will be reported in nanoseconds.

When `resolution` is zero a precise time difference between IO poll end and IO
poll start is entered into the histogram on every event-loop iteration. During
standby (i.e., no event-loop activity) - no data is added to the histogram.
standby (i.e., no event-loop activity) - no data is added to the histogram, as would be expected.

When `resolution` is non-zero a timer is used to detect approximate event loop
delay. This works because the execution of timers is tied specifically to the
Expand Down