Skip to content

gh-91487: Optimize asyncio UDP speed #91488

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

Merged
merged 3 commits into from
Apr 15, 2022
Merged

Conversation

msoxzw
Copy link
Contributor

@msoxzw msoxzw commented Apr 12, 2022

Fix #91487

When transferring a small file, e.g. 256 KiB, the speed of this PR is comparable. However, if a large file, e.g. 65536 KiB, is transferred, asyncio UDP will be over 100 times faster than the original. The speed is presumably significantly faster if a larger file is transferred, e.g. 1048576 KiB.

Automerge-Triggered-By: GH:gpshead

@msoxzw msoxzw requested review from 1st1 and asvetlov as code owners April 12, 2022 23:30
@ghost
Copy link

ghost commented Apr 12, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

@gpshead
Copy link
Member

gpshead commented Apr 14, 2022

Can you add a NEWS entry with blurb or blurb-it?

@gpshead gpshead self-assigned this Apr 14, 2022
@miss-islington
Copy link
Contributor

@msoxzw: Status check is done, and it's a success ✅ .

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

Successfully merging this pull request may close these issues.

The speed of asyncio UDP is too slow when transferring large file
5 participants