You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While upgrading my application to 4.5.11 from 4.4.x, I saw a significant performance regression (almost 3x slower) when removing my usage of the vertx virtual threads incubator and replacing with ThreadingModel.VIRTUAL_THREADS. The root cause was that in my fork of the threads incubator, awaiting a Future will check if the future is complete and return immediately or throw. Upstream, the virtual thread always parks. This is inefficient.
Do you have a reproducer?
This implementation of await exhibits the issue (this is just upstream await):
Version
4.5.11
Context
While upgrading my application to 4.5.11 from 4.4.x, I saw a significant performance regression (almost 3x slower) when removing my usage of the vertx virtual threads incubator and replacing with
ThreadingModel.VIRTUAL_THREADS
. The root cause was that in my fork of the threads incubator,await
ing aFuture
will check if the future is complete and return immediately or throw. Upstream, the virtual thread always parks. This is inefficient.Do you have a reproducer?
This implementation of await exhibits the issue (this is just upstream await):
This does not:
Steps to reproduce
The tests in vert-x3/vertx-virtual-threads-incubator#8 previously investigated and reported the issue.
The text was updated successfully, but these errors were encountered: