We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timer
On my computer, Timer is about one millisecond too slow: E.g:
julia> @btime sleep(0.001) 2.062 ms (4 allocations: 112 bytes)
This also reproduces in more realistic scenarios where I'm timing a loop which can be assumed to be dominated by sleep.
sleep
The code for Timer states:
# libuv has a tendency to timeout 1 ms early, so we need +1 on the timeout (in milliseconds), unless it is zero
Maybe this was fixed in libuv?
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
On my computer,
Timer
is about one millisecond too slow:E.g:
This also reproduces in more realistic scenarios where I'm timing a loop which can be assumed to be dominated by
sleep
.The code for
Timer
states:Maybe this was fixed in libuv?
The text was updated successfully, but these errors were encountered: