-
-
Notifications
You must be signed in to change notification settings - Fork 178
Serious performance loss (10 times) when NOT using .drain() #338
Comments
Very strange, |
I can repro on OSX too. Interestingly, if I increase the I think there's something quadratic going on in I have to stop analyzing this further, but it looks like But in the mean time, this is exactly why |
UNIX pipes are limited with 64K of kernel buffers by default, so no one can write at once more than 64K to a pipe. We should use
|
I would welcome a PR using `os.writev()` here.
|
I have created PR. But cannot easily patch tests.... Example:
|
Please help me, point how I can write test |
https://docs.python.org/3/library/unittest.mock.html is all I can tell you.
|
I think this issue can be closed since we've merged #385. Please open a new one specifically to discuss vectorized writes in 3.7. |
Uh oh!
There was an error while loading. Please reload this page.
Linux Ubuntu 16.04, Python 3.5, standard asyncio library.
The text was updated successfully, but these errors were encountered: