realpython / realpython/materials
asyncio on mac m1
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 5.2k
- Forks
- 5.3k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 10
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the async io-bound example from the tutorial materials and run it under Python 3.9.13 on macOS 13.1, comparing its timing with the other examples. Done means determining whether the slowdown is reproducible and documenting the cause or any required tweak.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100