Skip to content
Discussion options

You must be logged in to vote

Yes, currently docs don't cover the topic of performance optimization.

But the following statement is not correct

But if the sync function is CPU-intensive, asyncify would not work because of GIL.

It will work - your sync function is CPU-intensive will not block the event loop and this is what asyncify is intended to solve.

It might be a good idea to add a section in docs describing use cases that are better to solve with other approaches

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@monchin
Comment options

Answer selected by monchin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
2 participants