Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asyncio: Pipes and socket IO is very slow #71096

Closed
socketpair mannequin opened this issue May 2, 2016 · 3 comments
Closed

Asyncio: Pipes and socket IO is very slow #71096

socketpair mannequin opened this issue May 2, 2016 · 3 comments
Labels
performance Performance or resource usage topic-asyncio

Comments

@socketpair
Copy link
Mannequin

socketpair mannequin commented May 2, 2016

BPO 26909
Nosy @gvanrossum, @vstinner, @socketpair, @1st1
PRs
  • [Do Not Merge] Convert Misc/NEWS so that it is managed by towncrier #552
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2016-09-15.20:59:19.773>
    created_at = <Date 2016-05-02.17:06:33.401>
    labels = ['expert-asyncio', 'performance']
    title = 'Asyncio: Pipes and socket IO is very slow'
    updated_at = <Date 2017-03-31.16:36:23.793>
    user = 'https://github.com/socketpair'

    bugs.python.org fields:

    activity = <Date 2017-03-31.16:36:23.793>
    actor = 'dstufft'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-09-15.20:59:19.773>
    closer = 'yselivanov'
    components = ['asyncio']
    creation = <Date 2016-05-02.17:06:33.401>
    creator = 'socketpair'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 26909
    keywords = []
    message_count = 3.0
    messages = ['264655', '276618', '276619']
    nosy_count = 5.0
    nosy_names = ['gvanrossum', 'vstinner', 'socketpair', 'python-dev', 'yselivanov']
    pr_nums = ['552']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue26909'
    versions = ['Python 3.5']

    @socketpair
    Copy link
    Mannequin Author

    socketpair mannequin commented May 2, 2016

    python/asyncio#338

    (example of program shows bug resides on github)

    @socketpair socketpair mannequin added topic-asyncio performance Performance or resource usage labels May 2, 2016
    @socketpair socketpair mannequin changed the title Serious performance loss (10 times) when NOT using .drain() Asyncio: Pipes and socket IO is very slow May 16, 2016
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Sep 15, 2016

    New changeset e6adc2448c3d by Yury Selivanov in branch '3.5':
    Issue bpo-26909: Fix slow pipes IO in asyncio.
    https://hg.python.org/cpython/rev/e6adc2448c3d

    New changeset c462db8985d8 by Yury Selivanov in branch '3.6':
    Merge 3.5 (asyncio, issue bpo-26909)
    https://hg.python.org/cpython/rev/c462db8985d8

    New changeset 6b07f261ccf4 by Yury Selivanov in branch 'default':
    Merge 3.6 (asyncio, issue bpo-26909)
    https://hg.python.org/cpython/rev/6b07f261ccf4

    @1st1
    Copy link
    Member

    1st1 commented Sep 15, 2016

    Closing this one. Thank you Mark for discovering the issue and suggesting a solution (still hope we'll commit your patch in 3.7).

    Thank you INADA Naoki for the patch!

    @1st1 1st1 closed this as completed Sep 15, 2016
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    performance Performance or resource usage topic-asyncio
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant