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 neologix
Recipients ned.deily, neologix, pitrou, vstinner
Date 2015-01-29.08:12:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAH_1eM2EUUvag0UvtbXDymwQ86DhQgjVPgOvGq7FH3aW97DgHQ@mail.gmail.com>
In-reply-to <CAH_1eM32aYGASukRWx4C=+yrNo_wF2TV_+_TFzcjr=Gw_E2h5g@mail.gmail.com>
Content
OK, it turns out the culprit was repeated calls to BytesIO.getvalue(),
which forced large allocations upon reception of every message.
The patch attached fixes this (without changing the socket buffer size).
Files
File name Uploaded
eintr-1.diff neologix, 2015-01-29.08:12:26
History
Date User Action Args
2015-01-29 08:12:33neologixsetrecipients: + neologix, pitrou, vstinner, ned.deily
2015-01-29 08:12:29neologixlinkissue23285 messages
2015-01-29 08:12:29neologixcreate