-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Stop compensating for early Timer in libuv #57264
New issue
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
base: master
Are you sure you want to change the base?
Conversation
It appears to have been fixed on the libuv side, so now Julia's timers are one millisecond too slow.
|
Do we speculate this is fixed or do we know that it is fixed? The reason I ask is because the argument is supposed to be a hard floor, so if it wasn't fixed, this would give incorrect behavior (timing out late is suboptimal but not incorrect according to the spec of the function). |
|
I only speculate, after seeing on my computer that Julia's timer is 1 ms too long. I'll try to look into libuv and see if I can find anything. |
|
|
Bisecting libuv brought me to libuv/libuv@00357f8 (libuv/libuv#4026), which BTW is not contained in any libuv releases, yet. Someone else (@vtjnash ?) has to judge whether that's a proper, reliable fix for the timer-firing-early bug. |
|
This appears to have been fixed on Julia 1.12, so closing |
|
Nevermind, it was just a change in the result of BenchmarkTools |
|
libuv bug (with reproducer script) filed as libuv/libuv#4773 |
It appears to have been fixed on the libuv side, so now Julia's timers are one millisecond too slow.
Closes #57263