This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tontinton
Recipients tontinton
Date 2020-07-10.21:08:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594415336.97.0.770801888844.issue41273@roundup.psfhosted.org>
In-reply-to
Content
Using recv_into instead of recv in the transport _loop_reading will speed up the process.

From what I checked it's about 120% performance increase.

This is only because there should not be a new buffer allocated each time we call recv, it's really wasteful.
History
Date User Action Args
2020-07-10 21:08:57tontintonsetrecipients: + tontinton
2020-07-10 21:08:56tontintonsetmessageid: <1594415336.97.0.770801888844.issue41273@roundup.psfhosted.org>
2020-07-10 21:08:56tontintonlinkissue41273 messages
2020-07-10 21:08:56tontintoncreate