[issue11314] Subprocess suffers 40% process creation overhead penalty

STINNER Victor report at bugs.python.org
Wed Mar 2 12:53:06 CET 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

subprocess_errpipe_buffer.patch: Patch for 2.7 which improve by 30% the dummy benchmark (run /bin/false 10,000 times). It avoids the creation of the 1 MB buffer: start with a buffer of a single byte (just to check if there is data or if the pipe was closed).

----------
keywords: +patch
Added file: http://bugs.python.org/file20975/subprocess_errpipe_buffer.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11314>
_______________________________________


More information about the Python-bugs-list mailing list