I am finding that timers have up to a 16ms delay - On Windows. #4676
Unanswered
Nick-Riggs
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
On Windows, the output can be anywhere from the expected 1ms to 16ms. I find this true in all node versions I tested (v16-20).
However, it differs on Ubuntu or Chrome on Windows - you get closer to the expected results each time.
It does not matter if you use promise syntax sugar or traditional setTimeout/Interval globals.
Does anyone have any idea why this would be?
Beta Was this translation helpful? Give feedback.
All reactions