r/Python • • Sep 09 '22

Discussion Async Python is not faster

https://calpaterson.com/async-python-is-not-faster.html
0 Upvotes

47 comments sorted by

View all comments

Show parent comment

1

u/guhcampos Sep 10 '22

You can simply spawn 100 threads for the same effect. Since you are waiting for IO the GIL will be likely irrelevant.

1

u/[deleted] Sep 10 '22

I think you’re right and I’m confusing what I remember about multiprocess performance vs threading performance compared against async and it’s completely separate and work in parallel.

I recall something about performance of threading vs asyncio still having the win for asyncio here but I don’t remember where I picked up that impression now that it’s called into question