镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

asyncio on mac m1 #368

Description

@mikehagerty

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

Activity

  1. jima80525 commented on Mar 3, 2023

    @jima80525
    Contributor

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions