materials
materials copied to clipboard
asyncio on mac m1
Hi. I very much enjoyed your tutorial on concurrency in python. I tested all of the examples you gave. One in particular irks me: The async io-bound example is (by far!) the slowest on my mac m1 (10 cores) os 13.1. Not sure why but it is significantly slower than the others.
I'd like to know if there is something in your code that needs to be tweaked as I have an application I'm considering using async for part of.
Any idea why this would be ?
Thanks!
Using python 3.9.13 for this
Mike - I don't have a mac at my disposal, so I'm asking the rest of the team to see if someone can reproduce this and hopefully we can get to the bottom of it.
On the surface, I don't know of anything (or see anything doing some searches) that would point to async being slower on that hardware.
I'll let you know if/when I hear something!