Skip to content
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

compare with async_simple? #81

Closed
wanghenshui opened this issue Oct 11, 2022 · 3 comments
Closed

compare with async_simple? #81

wanghenshui opened this issue Oct 11, 2022 · 3 comments

Comments

@wanghenshui
Copy link

https://github.com/alibaba/async_simple

natice stackless coroutine and it's also a alibaba's project

@beef9999
Copy link
Collaborator

beef9999 commented Oct 11, 2022

Yes we are definitely aware of this project. According to our previous investigation, async_simple doesn't have a IO scheduler. And in the example, it has to bind with boost::asio in order to use the IO scheduler.
According to our tests, the performance of the example cannot surpass asio. So of course, not faster than photon.

@beef9999
Copy link
Collaborator

beef9999 commented Oct 11, 2022

async_simple is a wrapper for C++20 coroutine syntax. So it's meaningless to compare its IO performance.
Coroutine != IO

@wanghenshui
Copy link
Author

According to our tests, the performance of the example cannot surpass asio. So of course, not faster than photon.

OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants