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
That's an awesome good idea! Currently the context switch would cost about 30ns on unix, this would improve the performance significantly. We need to integrate it in the generator library. I also want grab some good things from parking_lot about the thread wakeup, but this should be another issue.
this should replace all the dependent generator library by using the libfringe branch. Though the generator context switch is improved 2 times faster than the master branch, but it's not the critical bottleneck for coroutine tasks, so I didn't see much improvement for the heavy io test.
https://github.com/edef1c/libfringe
This crate has rather nice approach to switching contexts:
The text was updated successfully, but these errors were encountered: