-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
A large number of asynchronous sleep
calls result in an unexplained slowdown
#13529
Comments
From profiling, I think the bug here is actually a deeper issue with ObjectIdDict (not libuv): In particular, while it's typical performance seems to be roughly equivalent to Base.Dict, I think I was seeing worst case performance on this benchmark of sometimes 100x slower (mostly at src/table.c:112 in |
It looks like the problem is that |
fix #13529, slowdown with large number of async `sleep` calls
The problem was performance degradation of ObjectIdDict with many deleted items. The table needs to be rehashed after a large number of deletions.
While no one may call sleep a million times, it may be the result of a deeper libuv issue.
The text was updated successfully, but these errors were encountered: