summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2013-12-08 18:56:07 (GMT)
committerGregory P. Smith <greg@krypto.org>2013-12-08 18:56:07 (GMT)
commit589ecda56eb23937ba871734598cda8f11395389 (patch)
treeeca06a8daf598b2ef14f7f8a8b4f1a100b1f213c /Misc
parent6976104a36aa426bcf23b2e4b7e7a706f25beeeb (diff)
downloadcpython-589ecda56eb23937ba871734598cda8f11395389.zip
cpython-589ecda56eb23937ba871734598cda8f11395389.tar.gz
cpython-589ecda56eb23937ba871734598cda8f11395389.tar.bz2
Fixes issue #19929: Call os.read with 32768 within subprocess.Popen
communicate rather than 4096 for efficiency. A microbenchmark shows Linux and OS X both using ~50% less cpu time this way.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0eac7fb..5eacf9c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -18,6 +18,10 @@ Core and Builtins
Library
-------
+- Issue #19929: Call os.read with 32768 within subprocess.Popen.communicate
+ rather than 4096 for efficiency. A microbenchmark shows Linux and OS X
+ both using ~50% less cpu time this way.
+
- Issue #19506: Use a memoryview to avoid a data copy when piping data
to stdin within subprocess.Popen.communicate. 5-10% less cpu usage.